gitea-dr/systemd/dr-sync.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
159 B
SYSTEMD

[Unit]
Description=Git DR timer: sync
[Timer]
OnCalendar=*:0/30
Persistent=true
RandomizedDelaySec=300
Unit=dr-sync.service
[Install]
WantedBy=timers.target