Files
Panama/server/home/systemd/server-backup.timer
T

15 lines
453 B
SYSTEMD

[Unit]
Description=Daily backup of /home/gib/Server to the ZFS pool
[Timer]
# MUST finish before cron.daily fires zfs-auto-snapshot (~03:22-03:52); a snapshot that
# catches a running rsync stores a partial backup as that day's history.
# 02:00 also staggers against the VPS backup, which pushes into this same pool at 01:00.
OnCalendar=*-*-* 02:00:00
RandomizedDelaySec=10m
Persistent=true
Unit=server-backup.service
[Install]
WantedBy=timers.target