File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ cron_jobs: []
437
437
# day: "*"
438
438
# month: "*"
439
439
# weekday: "0"
440
- # job: "if [ " $(psql -tAXc 'select pg_is_in_recovery()')" = "f" ]; then pgbackrest --type=full --stanza={{ pgbackrest_stanza }} backup; fi"
440
+ # job: "if [ $(psql -tAXc 'select pg_is_in_recovery()') = 'f' ]; then pgbackrest --type=full --stanza={{ pgbackrest_stanza }} backup; fi"
441
441
# - name: "PgBackerest: Diff Backup"
442
442
# file: /etc/cron.d/pgbackrest
443
443
# user: "{{ patroni_superuser_username }}"
@@ -446,7 +446,7 @@ cron_jobs: []
446
446
# day: "*"
447
447
# month: "*"
448
448
# weekday: "1-6"
449
- # job: "if [ " $(psql -tAXc 'select pg_is_in_recovery()')" = "f" ]; then pgbackrest --type=diff --stanza={{ pgbackrest_stanza }} backup; fi"
449
+ # job: "if [ $(psql -tAXc 'select pg_is_in_recovery()') = 'f' ]; then pgbackrest --type=diff --stanza={{ pgbackrest_stanza }} backup; fi"
450
450
# Example for walg
451
451
# - name: "WAL-G: Create daily backup"
452
452
# user: "{{ patroni_superuser_username }}"
@@ -456,7 +456,7 @@ cron_jobs: []
456
456
# day: "*"
457
457
# month: "*"
458
458
# weekday: "*"
459
- # job: "[ '200' = $(curl -s -o /dev/null -w '\\%{http_code}' http://{{ inventory_hostname }}:8008) ] && /usr/local/bin/ wal-g backup-push"
459
+ # job: "[ '200' = $(curl -s -o /dev/null -w '\\%{http_code}' http://{{ inventory_hostname }}:8008) ] && wal-g backup-push"
460
460
461
461
# PITR mode (if patroni_cluster_bootstrap_method: "pgbackrest" or "wal-g"):
462
462
# 1) The database cluster directory will be cleaned (for "wal-g") or overwritten (for "pgbackrest" --delta restore).
You can’t perform that action at this time.
0 commit comments