feat(backup): add forgejo dump systemd timer + wire into runbook

Daily 'forgejo dump' (tar.zst) to /opt/backups/forgejo with 14-day retention,
via a oneshot service + timer. Maintenance section now documents both backup
layers (Codeberg push-mirror for git, dump timer for full state).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Josh Bairstow 2026-06-03 00:55:03 +10:00
parent d326670b1f
commit 892601f65b
4 changed files with 70 additions and 3 deletions

View file

@ -0,0 +1,11 @@
# Daily Forgejo backup at 03:30 server time. Persistent=true runs a missed
# backup after the box was off at the scheduled time.
[Unit]
Description=Daily Forgejo dump backup
[Timer]
OnCalendar=*-*-* 03:30:00
Persistent=true
[Install]
WantedBy=timers.target