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>
11 lines
259 B
SYSTEMD
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
|