Skip to content

Commit 2f6ee1f

Browse files
committed
Properly default postgresql_backup_remote_rsync_path
1 parent 8eec423 commit 2f6ee1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/archive_wal.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ mutex={{ postgresql_backup_local_dir }}/walmutex
1717
mailto='{{ postgresql_backup_mail_recipient }}'
1818
mutex_attempts=50
1919

20-
[ '{{ postgresql_backup_remote_rsync_path | default("None") }}' != 'None' ] && remote_rsync='--rsync-path={{ postgresql_backup_remote_rsync_path }}' || remote_rsync=''
20+
[ '{{ postgresql_backup_remote_rsync_path | default("None") }}' != 'None' ] && remote_rsync='--rsync-path={{ postgresql_backup_remote_rsync_path | default("None") }}' || remote_rsync=''
2121

2222
handler()
2323
{

templates/scheduled_backup.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ mailto='{{ postgresql_backup_mail_recipient }}'
1010
mutex={{ postgresql_backup_local_dir }}/scheduledmutex
1111
rotate='{{ postgresql_backup_rotate | default("True") }}'
1212

13-
[ '{{ postgresql_backup_remote_rsync_path | default("None") }}' != 'None' ] && remote_rsync='--rsync-path={{ postgresql_backup_remote_rsync_path }}' || remote_rsync=''
13+
[ '{{ postgresql_backup_remote_rsync_path | default("None") }}' != 'None' ] && remote_rsync='--rsync-path={{ postgresql_backup_remote_rsync_path | default("None") }}' || remote_rsync=''
1414

1515
handler()
1616
{

0 commit comments

Comments
 (0)