Skip to content

Commit

Permalink
Force region in s3 sync command
Browse files Browse the repository at this point in the history
  • Loading branch information
Leen15 committed Apr 9, 2024
1 parent ef671a9 commit 23b086f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ else
mkdir -p ${BACKUP_DST_DIR}
mv "$COMPARE_DST_FULL_PATH" "$BACKUP_DST_FULL_PATH"
#echo "archive created, uploading..."
/usr/bin/aws s3 sync ${BACKUP_TGT_DIR} s3://${BACKUP_S3_BUCKET}
/usr/bin/aws s3 sync ${BACKUP_TGT_DIR} s3://${BACKUP_S3_BUCKET} --region ${AWS_DEFAULT_REGION}
fi


Expand Down

0 comments on commit 23b086f

Please sign in to comment.