backup: add port flag to handle changed ports

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-07-17 22:56:24 +02:00
parent a65e614e5b
commit 9142511e51
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 1 additions and 0 deletions

View File

@ -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