forked from pool/pgbackrest
Marcus Rueckert
f9a5567409
- diff/full/incremental backup - pgbackrest services for the TLS server - add pgbackrest.target to restart/stop all sub services - add Requires(pre) for postgresql-server to make sure the postgresql user is available for file permissions - change permissions of the config file from 0644 to 0640 as the file can contain passwords and encryption keys. - modernize the spec file OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=43
15 lines
344 B
SYSTEMD
15 lines
344 B
SYSTEMD
[Unit]
|
|
Description=Weekly pgbackrest diff backup (sun)
|
|
Documentation=https://pgbackrest.org/configuration.html
|
|
Documentation=man:pgbackrest(1) man:pgbackrest.conf(5)
|
|
PartOf=pgbackrest.target
|
|
|
|
[Timer]
|
|
#OnCalendar=Sun *-*-8..31 05:05:05
|
|
OnCalendar=Wed *-*-* 05:05:05
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|