jb-infra/backup/forgejo-backup.service
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

10 lines
291 B
Desktop File

# Oneshot unit invoked by forgejo-backup.timer. Install both into
# /etc/systemd/system/ and `systemctl enable --now forgejo-backup.timer`.
[Unit]
Description=Forgejo dump backup
After=docker.service
Requires=docker.service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/forgejo-backup.sh