summaryrefslogtreecommitdiffstats
path: root/systemd/system/pg_dump@.timer
blob: a1d2799437f203254b32997b6785ffba4314a652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=Weekly Dump 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