|
2026-09-24
| ||
| 00:56 | • Ticket [d49b1bf22c] Backups for the beta host: litestream for OLTP, nightly store copies, one verified restore status still Closed with 1 other change artifact: d6fbcf9af9 user: zeitgeist | |
|
2026-09-04
| ||
| 17:44 | • Closed ticket [d49b1bf22c]. artifact: 794a14e681 user: zeitgeist | |
| 13:29 | • Ticket [d49b1bf22c]: 2 changes artifact: 41dd2468ae user: zeitgeist | |
| 09:15 | • New ticket [d49b1bf22c]. artifact: 1d15b37dc8 user: ai-local | |
Backups for the beta host: litestream for OLTP, nightly store copies, one verified restore
Local half done on hetzner-big-eu: /srv/quarry/backup.sh takes SQLite online backups of oltp.db and notify.db, tars every store and the dagnats data, checksums the set, verifies the oltp copy against the live account count and an integrity check, and keeps 14 days under /srv/backups. /srv/quarry/restore-test.sh opens the latest backup's store with zit and its database with sqlite in a scratch directory; it runs after every backup. Both ran once: 17 MB, store opens at trunk 8856284830c4, restorable. Timer quarry-backup.timer at 03:17 UTC nightly. Offsite half waits on a Hetzner Object Storage bucket and its S3 keys in Doppler; litestream is installed for it.
Offsite half done against the Cloudflare R2 bucket quarry-server (keys in Doppler quarry/prd): litestream replicates oltp.db and notify.db continuously to litestream/ with a week of retention, and the nightly set is copied by rclone to nightly/