Skip to content

Commit

Permalink
Update backup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaariel91 authored Dec 10, 2024
1 parent d6ff00c commit d8c1154
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ case "${PG_BACKUP_ACTION:-dump}" in

# TODO: check if database is fresh
echo "Snapshotting $POSTGRES_DB database"
pg_dump -U $POSTGRES_USER -h $POSTGRES_HOST -p $POSTGRES_PORT -d $POSTGRES_DB -Fc -f dump.backup
pg_dump -U $POSTGRES_USER -h $POSTGRES_HOST -p $POSTGRES_PORT -d $POSTGRES_DB -Fc -b -v -f dump.backup
aws configure set default.s3.multipart_chunksize 16MB

if [ "${PRIVATE_BACKUP}" == "true" ] || [ "${PRIVATE_BACKUP}" == "1" ]; then
Expand Down

0 comments on commit d8c1154

Please sign in to comment.