From 27601cf801cea180bfd224ae7a20228c872b371f Mon Sep 17 00:00:00 2001 From: Tanmoy Sarkar <57363826+tanmoysrt@users.noreply.github.com> Date: Wed, 5 Jun 2024 00:23:31 +0530 Subject: [PATCH] fix: mongodb path issue --- build/mongodb-backup/6.0/run.sh | 2 +- build/mongodb-backup/7.0/run.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"