Skip to content

Commit ef24a66

Browse files
committed
change compression level
1 parent 1c2fbbe commit ef24a66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ make_backup () {
1515
# dump database
1616
mysqldump -h $MYSQL_HOST -P $MYSQL_PORT -u $DB_USER --password=$DB_PASSWORD $DB_NAME > $FILENAME-$DATETIME.sql
1717
# compress the file
18-
gzip $FILENAME-$DATETIME.sql
18+
gzip -9 $FILENAME-$DATETIME.sql
1919
# Send to cloud storage
2020
azure storage blob upload $FILENAME-$DATETIME.sql.gz $CONTAINER -c "DefaultEndpointsProtocol=https;BlobEndpoint=https://$AZURE_STORAGE_ACCOUNT.blob.core.windows.net/;AccountName=$AZURE_STORAGE_ACCOUNT;AccountKey=$AZURE_STORAGE_ACCESS_KEY"
2121

0 commit comments

Comments
 (0)