SHA256
1
0
forked from pool/pgbackrest
pgbackrest/pgbackrest-incr@.service

16 lines
427 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=pgbackrest backup incremental for %i
Documentation=https://pgbackrest.org/configuration.html
Documentation=man:pgbackrest(1) man:pgbackrest.conf(5)
ConditionACPower=true
PartOf=pgbackrest.target
[Service]
Type=oneshot
User=postgres
Group=postgres
ExecStart=/usr/bin/pgbackrest --log-level-console=info --stanza=%i --type=incr backup
# Give a reasonable amount of time for the job to finish
TimeoutSec=7200