jb-infra/backup/forgejo-backup.timer
Josh Bairstow 892601f65b 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>
2026-06-03 00:55:03 +10:00

11 lines
259 B
SYSTEMD

# 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