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
14 lines
323 B
SYSTEMD
14 lines
323 B
SYSTEMD
[Unit]
|
|
Description=Daily pgbackrest incremental backup (mon-sat)
|
|
Documentation=https://pgbackrest.org/configuration.html
|
|
Documentation=man:pgbackrest(1) man:pgbackrest.conf(5)
|
|
PartOf=pgbackrest.target
|
|
|
|
[Timer]
|
|
OnCalendar=Mon..Sat *-*-* 05:05:05
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|