We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1c2fbbe commit ef24a66Copy full SHA for ef24a66
functions.sh
@@ -15,7 +15,7 @@ make_backup () {
15
# dump database
16
mysqldump -h $MYSQL_HOST -P $MYSQL_PORT -u $DB_USER --password=$DB_PASSWORD $DB_NAME > $FILENAME-$DATETIME.sql
17
# compress the file
18
- gzip $FILENAME-$DATETIME.sql
+ gzip -9 $FILENAME-$DATETIME.sql
19
# Send to cloud storage
20
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"
21
0 commit comments