DEV-1058 bugfix backup process

- fixed hard coded ... things
qa
Sven Ketelsen 3 years ago
parent 0f3df72dd0
commit 3feaeedbe2

@ -45,7 +45,7 @@
shell: |
set -o pipefail
/usr/bin/pg_basebackup -Ft -X fetch -D - | nice -n {{ postgres_backup_niceness_pigz | default(8) }} pigz -p 2 > {{ backup_file }} && \
nice -n {{ postgres_backup_niceness_gpg | default(10) }} gpg --encrypt --recipient "smardigo automation {{ stage | upper }}" --trust-model always {{ backup_file }} && \
nice -n {{ postgres_backup_niceness_gpg | default(10) }} gpg --encrypt --recipient "{{ backup_gpg_recipient }}" --trust-model always {{ backup_file }} && \
rm {{ backup_file }}
args:
executable: /bin/bash

Loading…
Cancel
Save