apps(backup): nightly Forgejo data + CNPG dumps to the Linode, and prove a restore #17

Merged
sirius merged 2 commits from feat/t_dcad85f6-backups into master 2026-11-19 22:11:51 +00:00
Showing only changes of commit 3a8c17aa5e - Show all commits

docs(cluster-overview): note the backup job's free-space guard

Lance Walters 2026-11-19 17:01:52 -05:00

View file

@ -521,6 +521,8 @@ Two independent nightly paths, both **off** the T480 and **off** the Pi:
the stream vs the remote file) before the `.part` file is renamed; a short the stream vs the remote file) before the `.part` file is renamed; a short
stream fails the Job instead of silently shipping a broken archive. stream fails the Job instead of silently shipping a broken archive.
- Each run appends sizes + checksums to `/root/cluster-backup/manifests/<stamp>.txt`. - Each run appends sizes + checksums to `/root/cluster-backup/manifests/<stamp>.txt`.
- The Job fails (a red Job, not a silent skip) if the Linode has less than
8 GiB free, so a growing registry cannot quietly eat the last snapshot's room.
- The only secret is the backup SSH key: `forgejo/cluster-backup-ssh` (created - The only secret is the backup SSH key: `forgejo/cluster-backup-ssh` (created
out of band, **not in git**, so Flux never reverts it) holding an ed25519 key out of band, **not in git**, so Flux never reverts it) holding an ed25519 key
that is `from="10.10.0.0/24,10.244.0.0/16,10.20.0.0/24"`-restricted, that is `from="10.10.0.0/24,10.244.0.0/16,10.20.0.0/24"`-restricted,