Skip to main content

max / makenotwork

526 B · 18 lines History Blame Raw
1 # Daily trigger for backup fetch. Prod's own backup-db.sh runs at 03:00 UTC;
2 # we fetch at 04:00 UTC to leave headroom for offsite sync to complete first.
3 #
4 # Place at /etc/systemd/system/sandod-backup-fetch.timer on the Sando host.
5 # Enable: systemctl enable --now sandod-backup-fetch.timer
6
7 [Unit]
8 Description=Sando: daily prod-backup fetch
9
10 [Timer]
11 OnCalendar=*-*-* 04:00:00 UTC
12 # If the box was off when the timer fired, run on next boot.
13 Persistent=true
14 Unit=sandod-backup-fetch.service
15
16 [Install]
17 WantedBy=timers.target
18