(backup-db! db-name
datasource
backup-dir
&
[{:keys [keep-days] :or {keep-days 30}}])Updates SQLite query planner statistics, creates a point-in-time snapshot of the DB, and prunes old backups.
Opts: :keep-days (default: 30) - How many days of backups to retain.
Updates SQLite query planner statistics, creates a point-in-time snapshot of the DB, and prunes old backups. Opts: :keep-days (default: 30) - How many days of backups to retain.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |