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
347 B
SYSTEMD
15 lines
347 B
SYSTEMD
[Unit]
|
|
Description=Montly pgbackrest full backup (1st sun)
|
|
Documentation=https://pgbackrest.org/configuration.html
|
|
Documentation=man:pgbackrest(1) man:pgbackrest.conf(5)
|
|
PartOf=pgbackrest.target
|
|
|
|
[Timer]
|
|
#OnCalendar=Sun *-*-1..7 05:05:05
|
|
OnCalendar=Sun *-*-* 05:05:05
|
|
AccuracySec=1h
|
|
Persistent=true
|
|
|
|
[Install]
|
|
WantedBy=timers.target
|