diff --git a/build/mongodb-backup/6.0/run.sh b/build/mongodb-backup/6.0/run.sh index e84956a..fe83a93 100644 --- a/build/mongodb-backup/6.0/run.sh +++ b/build/mongodb-backup/6.0/run.sh @@ -20,7 +20,7 @@ cat <> /backup.sh #!/bin/bash TIMESTAMP=\`/bin/date +"%Y%m%dT%H%M%S"\` BACKUP_NAME=\${TIMESTAMP}.dump.gz -S3BACKUP=${S3PATH}\${BACKUP_NAME} +S3BACKUP=${S3PATH}/\${BACKUP_NAME} aws configure set default.s3.signature_version s3v4 echo "=> Backup started" diff --git a/build/mongodb-backup/7.0/run.sh b/build/mongodb-backup/7.0/run.sh index 387cb38..ef75093 100644 --- a/build/mongodb-backup/7.0/run.sh +++ b/build/mongodb-backup/7.0/run.sh @@ -20,7 +20,7 @@ cat <> /backup.sh #!/bin/bash TIMESTAMP=\`/bin/date +"%Y%m%dT%H%M%S"\` BACKUP_NAME=\${TIMESTAMP}.dump.gz -S3BACKUP=${S3PATH}\${BACKUP_NAME} +S3BACKUP=${S3PATH}/\${BACKUP_NAME} aws configure set default.s3.signature_version s3v4 echo "=> Backup started"