gitea-dr/systemd/dr-offsite.timer
tonycao 00a378178f Add Gitea DR toolkit: LAN mirror, bundle snapshots, dump, verify, restore
- dr-sync: mirror all repos (incl private via token) over LAN, fsck, source read-only guard
- dr-bundle: weekly full bundles with GFS retention
- dr-dump: gitea dump --skip-repository via docker exec, zero source residue
- dr-verify: drift + HEAD-sync + bundle integrity checks
- dr-restore: one-command recovery to a fresh Gitea
- systemd timers; secrets/data gitignored, dr.conf.example provided
2026-11-21 13:16:02 +08:00

12 lines
164 B
SYSTEMD

[Unit]
Description=Git DR timer: offsite
[Timer]
OnCalendar=daily
Persistent=true
RandomizedDelaySec=300
Unit=dr-offsite.service
[Install]
WantedBy=timers.target