Add nightly restic backups to Scaleway Object Storage
Three restic jobs share one repository: - panel (03:30): /var/lib/containers and rootless named volumes, with the panel's containers stopped for a consistent copy and started again after - system (04:00): /etc, /home, /root, /var/lib, plus consistent .dump copies of the Forgejo, Nextcloud, Authelia and panel SQLite databases - maintenance (Sun 05:30): forget/prune and a 2 GB sampled check Scaleway bills storage and egress, not requests, so objects go to One Zone, /nix/store and images are left out, all jobs share one cache, and pruning and checks are weekly and bounded. Needs secrets/restic-password.age and secrets/restic-env.age to be created before deploying; BACKUPS.md has the steps and a restore runbook. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HA82gUd5tW9VHStkEKmgqu
This commit is contained in:
parent
9aa395814c
commit
79647356f4
4 changed files with 391 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
|||
./authelia.nix
|
||||
./nextcloud.nix
|
||||
./forgejo.nix
|
||||
./backups.nix
|
||||
./containers/hello.nix
|
||||
agenix.nixosModules.default
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue