Increase multipart-chunk-size-mb for aws s3 backup script

This commit is contained in:
Salt 2022-11-14 13:28:39 -06:00
parent 53126bfeb8
commit 5621993f72

View File

@ -86,6 +86,7 @@ if command -v psql > /dev/null 2>&1; then
sudo -u postgres pg_dump "$db" \
| gzip -v9 \
| aws s3 cp - \
--multipart-chunk-size-mb 50 \
"s3://{{ backup_s3_bucket }}/{{ inventory_hostname }}/$db-$(date "+{{ backup_dateformat }}").pgsql.gz"
done
fi