backup: add port flag to handle changed ports
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
a65e614e5b
commit
9142511e51
|
@ -16,6 +16,7 @@ for DB in "${DATABASES[@]}"; do
|
|||
pg_dump \
|
||||
-F directory \
|
||||
-f "/backup/${DB}" \
|
||||
-p {{ postgres_ha_cont_port }} \
|
||||
-U {{ postgres_ha_admin_user }} \
|
||||
"${DB}"
|
||||
done
|
||||
|
|
Loading…
Reference in New Issue