gitea-dr/systemd/dr-offsite.service
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

9 lines
171 B
Desktop File

[Unit]
Description=Git DR: offsite
[Service]
Type=oneshot
User=tonycao
WorkingDirectory=/home/tonycao/work/repo
ExecStart=/bin/bash /home/tonycao/work/repo/dr-offsite.sh