summaryrefslogtreecommitdiffstats
path: root/systemd/system/pg_basebackup@.timer
blob: da0bb3f0be3e80f5ddab6f53da199c92c63a0677 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Weekly Basebackup of PostgreSQL Cluster %i
AssertPathExists=/etc/postgresql/%I/postgresql.conf

[Timer]
OnCalendar=weekly
RandomizedDelaySec=1h
FixedRandomDelay=true

[Install]
# when enabled, start along with postgresql@%i
WantedBy=postgresql@%i.service