Skip to content

Commit 040b833

Browse files
authored
Increase chunksize. Max file size now ~640GB
1 parent 509cacb commit 040b833

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ case "${PG_BACKUP_ACTION:-dump}" in
5656
# TODO: check if database is fresh
5757
echo "Snapshotting $POSTGRES_DB database"
5858
pg_dump -Fc $POSTGRES_HOST_OPTS $POSTGRES_DB > dump.backup
59-
aws configure set default.s3.multipart_chunksize 16MB
59+
aws configure set default.s3.multipart_chunksize 64MB
6060

6161
if [ "${PRIVATE_BACKUP}" == "true" ] || [ "${PRIVATE_BACKUP}" == "1" ]; then
6262
echo "Rotating old snapshot"

0 commit comments

Comments
 (0)