Backups
Your data is the SQLite file. Copy it when the app is closed. Automatic close-and-hourly backups with retention are the production target; this checkout also lets you copy the file by hand.
Steps
- Quit the desktop app so WAL pages are checkpointed.
- Copy
ledger.sqlitefrom the app data folder to a backup disk. - To restore without sync, replace the file and reopen the app.
- To restore with Cloud or Private sync on, use Sync → Restore so the confirm-diff can run. Rejecting the diff leaves every device unchanged.
Do not keep the live file in a folder another tool syncs. Backups in those folders are fine.
If this goes wrong
If the file will not open, run the integrity check from Sync → Repair. A backup taken while the app was writing may need the -wal sidecar copied too.