Skip to content

Commit

Permalink
fix: mongodb path issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmoysrt committed Jun 4, 2024
1 parent 32bf911 commit 27601cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build/mongodb-backup/6.0/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cat <<EOF >> /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"
Expand Down
2 changes: 1 addition & 1 deletion build/mongodb-backup/7.0/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ cat <<EOF >> /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"
Expand Down

0 comments on commit 27601cf

Please sign in to comment.