Skip to content

Commit

Permalink
Add condition for check
Browse files Browse the repository at this point in the history
  • Loading branch information
nihaldivyam committed Mar 19, 2024
1 parent 8efb767 commit 3a5da7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion logical-backup/dump.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function upload {
esac
}

if [ "$LOGICAL_BACKUP_PROVIDER" == "az" ]; then
if [ "$LOGICAL_BACKUP_PROVIDER" == "az" && "$PGDATABASE" == "az" ]; then
PATH_TO_BACKUP="${POSTGRES_OPERATOR}/"$SCOPE$LOGICAL_BACKUP_S3_BUCKET_SCOPE_SUFFIX"/logical_backups/"$(date +%Y-%m-%dT%H%M%S)

echo Dumping and uploading global items...
Expand Down

0 comments on commit 3a5da7f

Please sign in to comment.