Fix #196: one-command operator backup (pg_dump + MinIO) #234

Merged
justin merged 1 commits from operator-backup-script into main 2026-06-09 12:45:35 -04:00
Owner

deploy/backup.sh dumps Postgres (pg_dump --clean --if-exists, gzipped) and archives MinIO /data into one timestamped bundle under backups/. Reads the compose .env (same defaults as the stack); optional BACKUP_RETAIN_DAYS prunes old bundles (cron-friendly). BACKUP.md covers usage + restore (kept documented rather than an untested destructive script). bash syntax checked.

Closes #196

🤖 Generated with Claude Code

`deploy/backup.sh` dumps Postgres (`pg_dump --clean --if-exists`, gzipped) and archives MinIO `/data` into one timestamped bundle under `backups/`. Reads the compose `.env` (same defaults as the stack); optional `BACKUP_RETAIN_DAYS` prunes old bundles (cron-friendly). `BACKUP.md` covers usage + restore (kept documented rather than an untested destructive script). bash syntax checked. Closes #196 🤖 Generated with [Claude Code](https://claude.com/claude-code)
justin added 1 commit 2026-06-09 12:45:35 -04:00
Move backup from a documented procedure to `deploy/backup.sh`: dumps Postgres
(pg_dump --clean --if-exists, gzipped) and archives the MinIO /data directory
into a single timestamped bundle under backups/. Reads config from the compose
.env with the same defaults the stack uses; optional BACKUP_RETAIN_DAYS prunes
old bundles (cron-friendly). BACKUP.md documents usage + the restore procedure
(kept manual/documented rather than an untested destructive script).

Closes #196

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Justin Paul <justin@jpaul.me>
justin merged commit d540dc3f32 into main 2026-06-09 12:45:35 -04:00
justin deleted branch operator-backup-script 2026-06-09 12:45:35 -04:00
Sign in to join this conversation.