diff --git a/pgbackrest-diff@.service b/pgbackrest-diff@.service index ca90491..8fa33c7 100644 --- a/pgbackrest-diff@.service +++ b/pgbackrest-diff@.service @@ -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 + diff --git a/pgbackrest-diff@.timer b/pgbackrest-diff@.timer index e58eb0b..6b8d1d2 100644 --- a/pgbackrest-diff@.timer +++ b/pgbackrest-diff@.timer @@ -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 diff --git a/pgbackrest-full@.service b/pgbackrest-full@.service index 99ae9f6..b2680a3 100644 --- a/pgbackrest-full@.service +++ b/pgbackrest-full@.service @@ -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 + diff --git a/pgbackrest-full@.timer b/pgbackrest-full@.timer index 9b1e46b..45ae9b9 100644 --- a/pgbackrest-full@.timer +++ b/pgbackrest-full@.timer @@ -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 diff --git a/pgbackrest-incr@.service b/pgbackrest-incr@.service index d33cffd..795c604 100644 --- a/pgbackrest-incr@.service +++ b/pgbackrest-incr@.service @@ -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 + diff --git a/pgbackrest-incr@.timer b/pgbackrest-incr@.timer index d11ca5a..624dfac 100644 --- a/pgbackrest-incr@.timer +++ b/pgbackrest-incr@.timer @@ -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 diff --git a/pgbackrest.changes b/pgbackrest.changes index 7749c06..b00eed6 100644 --- a/pgbackrest.changes +++ b/pgbackrest.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Feb 18 18:01:39 UTC 2022 - Marcus Rueckert + +- make sure all unit files have unix line endings + ------------------------------------------------------------------- Fri Feb 18 17:48:11 UTC 2022 - Marcus Rueckert