Skip to content

Commit 7e026c1

Browse files
Praveenraj-Kbriskt
andauthored
Update application/backup.sh
Co-authored-by: briskt <[email protected]>
1 parent 469ee58 commit 7e026c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: application/backup.sh

+5-5
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ fi
9090
if [ "${B2_BUCKET}" != "" ]; then
9191
start=$(date +%s)
9292
s3cmd \
93-
--access_key=${B2_APPLICATION_KEY_ID} \
94-
--secret_key=${B2_APPLICATION_KEY} \
95-
--host=${B2_HOST} \
96-
--host-bucket='%(bucket)s.'"${B2_HOST}" \
97-
put /tmp/${DB_NAME}.sql.gz s3://${B2_BUCKET}/${DB_NAME}.sql.gz
93+
--access_key=${B2_APPLICATION_KEY_ID} \
94+
--secret_key=${B2_APPLICATION_KEY} \
95+
--host=${B2_HOST} \
96+
--host-bucket='%(bucket)s.'"${B2_HOST}" \
97+
put /tmp/${DB_NAME}.sql.gz s3://${B2_BUCKET}/${DB_NAME}.sql.gz
9898
STATUS=$?
9999
end=$(date +%s)
100100
if [ $STATUS -ne 0 ]; then

0 commit comments

Comments
 (0)