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>
10 lines
291 B
Desktop File
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
|