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:
parent
d326670b1f
commit
892601f65b
4 changed files with 70 additions and 3 deletions
11
backup/forgejo-backup.timer
Normal file
11
backup/forgejo-backup.timer
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue