From cf092424ee7860ae58cf72b65cfa3b30d7bbca48 Mon Sep 17 00:00:00 2001 From: David Sierra DiazGranados Date: Thu, 1 Sep 2022 17:49:56 -0500 Subject: [PATCH] Fix backup.sh Error: backup.sh: line 96: DEST_FILEpostgres_2022-09-01T22:43:47Z.sql.gz: not found --- postgres-backup-s3/backup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres-backup-s3/backup.sh b/postgres-backup-s3/backup.sh index 191dc40..d656e44 100644 --- a/postgres-backup-s3/backup.sh +++ b/postgres-backup-s3/backup.sh @@ -93,7 +93,7 @@ else IFS="$OIFS" SRC_FILE=dump.sql.gz - DEST_FILE${DB}_$(date +"%Y-%m-%dT%H:%M:%SZ").sql.gz + DEST_FILE=${DB}_$(date +"%Y-%m-%dT%H:%M:%SZ").sql.gz if [ "${ENCRYPTION_PASSWORD}" != "**None**" ]; then echo "Encrypting ${SRC_FILE}"