SHA256
1
0
forked from pool/pgbackrest

- make sure all unit files have unix line endings

OBS-URL: https://build.opensuse.org/package/show/server:database:postgresql/pgbackrest?expand=0&rev=44
This commit is contained in:
Marcus Rückert 2022-02-18 18:01:52 +00:00 committed by Git OBS Bridge
parent f9a5567409
commit 588c5b791e
7 changed files with 91 additions and 86 deletions

View File

@ -1,15 +1,15 @@
[Unit]
Description=pgbackrest backup diff 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=diff backup
# Give a reasonable amount of time for job to finish
TimeoutSec=7200
[Unit]
Description=pgbackrest backup diff 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=diff backup
# Give a reasonable amount of time for job to finish
TimeoutSec=7200

View File

@ -1,14 +1,14 @@
[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
[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

View File

@ -1,15 +1,15 @@
[Unit]
Description=pgbackrest backup full 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=full backup
# Give a reasonable amount of time for the job to run before timeout
TimeoutSec=7200
[Unit]
Description=pgbackrest backup full 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=full backup
# Give a reasonable amount of time for the job to run before timeout
TimeoutSec=7200

View File

@ -1,14 +1,14 @@
[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
[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

View File

@ -1,15 +1,15 @@
[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
[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

View File

@ -1,13 +1,13 @@
[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
[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

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Feb 18 18:01:39 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>
- make sure all unit files have unix line endings
-------------------------------------------------------------------
Fri Feb 18 17:48:11 UTC 2022 - Marcus Rueckert <mrueckert@suse.de>