Expand description
Full-database backup and restore: a single portable SQLite file out, and back in.
Independent of history-retention’s age-based deletion of old runs — this is about
moving or protecting an entire installation (support diagnostics, migrating to a new
machine, or a safety net immediately before a risky operation), not about pruning
individual runs. Exposed to both the CLI and the GUI.
Structs§
- Restore
Outcome - The result of a successful
restore_from: the fresh pool to use going forward, and where the previously-live database was safety-copied to before being overwritten.
Functions§
- backup_
to - Writes a complete, consistent, compacted snapshot of
pool’s database todest. - restore_
from - Restores
db_pathfrom abackup_to-produced file, replacing its entire contents.