19 lines
527 B
SYSTEMD
19 lines
527 B
SYSTEMD
[Unit]
|
|
Description=Lilith Platform - MinIO Backup Timer (daily at 02:00)
|
|
Documentation=file:///var/home/lilith/Code/@projects/@lilith/lilith-platform/deployments/scripts/lilith-backup-minio.sh
|
|
|
|
[Timer]
|
|
# Run daily at 02:00 UTC (after midnight postgres run, before offsite at 04:00)
|
|
OnCalendar=*-*-* 02:00:00
|
|
|
|
# If a run was missed (system was down), catch up immediately on next boot
|
|
Persistent=true
|
|
|
|
# Spread load slightly
|
|
RandomizedDelaySec=120
|
|
|
|
# Only run on AC power
|
|
ConditionACPower=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|