Add scheduled backups of database and uploads
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 7m9s
Build and Push Lunchtime Images (Kaniko) / build-and-push (push) Successful in 7m9s
The backend now writes a timestamped tar.gz of the SQLite snapshot and all per-order files to BACKUP_DIR on a cron schedule (default 03:00), keeps the newest BACKUP_KEEP archives, and catches up once on start if a slot was missed. Configurable via BACKUP_CRON / BACKUP_KEEP / BACKUP_DIR / TZ. Includes user-facing restore docs in docs/backups.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1df83afab1
commit
9d80e6d06e
8 files changed
+203
-1
No files matched your search
+2
-1
@@ -7,4 +7,5 @@ __pycache__/
|
||||
.venv/
|
||||
.env
|
||||
.DS_Store
|
||||
.data/
|
||||
.data/
|
||||
.backups/
|
||||
Reference in new issue
Block a user