[Unit] Description=Weekly Media -> Backup pool copy [Timer] # Saturday 05:00. Clear of: the cron.daily zfs-auto-snapshot window (03:22-03:52), # timeshift (04:00), arr-queue-reconcile (04:31), and both ~/Server backups (01:00, 02:00). # Saturday specifically because Monday carries the Media scrub and Sunday has # raid-check (01:00), docker-prune (05:33) and dind-prune (06:03). # Nextcloud AIO's borg runs daily from 07:30 UTC for about 2 hours, so its lock can # overlap this fire. The script waits up to 6 h for the lock, checking every 5 min, # and defers the week only if borg is still running after that. OnCalendar=Sat *-*-* 05:00:00 RandomizedDelaySec=15m Persistent=true Unit=media-backup.service [Install] WantedBy=timers.target