infrastructure/postgresql.tjo.cloud/root/etc/systemd/system/postgresql-backup.timer

13 lines
219 B
SYSTEMD

[Unit]
Description=Backup PostgreSQL databases daily
Requires=postgresql.service
After=postgresql.service
[Timer]
OnCalendar=daily
AccuracySec=1h
Persistent=true
RandomizedDelaySec=4h
[Install]
WantedBy=timers.target