Offsite backups: weekly restic prune subcommand + RUNBOOK backup section #27
Loading…
Reference in a new issue
No description provided.
Delete branch "oss-oo/offsite-backup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
P0 resilience. Extends
scripts/backup.shwith aprunesubcommand (weekly cron:restic forget --keep-daily 7 --keep-weekly 4 --keep-monthly 6 --prune+restic check --read-data-subset=10m) and env-gatedrestic_ready()for the nightly offsite branch. RUNBOOK backup section rewritten: three-layer model (local artifacts, restic → Hetzner Storage Box via SFTP port 23, backup-only Ed25519 key + ssh-config alias, quarterly restore drill with exact commands). Concrete box identifiers stay server-side (/etc/oss-oo-backup.env) — repo is public.E2E gate: green (full forge round-trip + MCP + registrar on local stack).
Live proof (already executed on the server with the pre-PR script): first offsite restic snapshot
f4b10f61(1.289 GiB → Storage Box HEL1), restore drill restored in 2:06, scratch-DB import 0 errors, counts match live (130 tables / 18 repos / 8 users).19ef8c40a0065b52b936