mirror of
https://github.com/status-im/infra-role-postgres-ha.git
synced 2025-02-17 17:17:44 +00:00
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…
x
Reference in New Issue
Block a user