Browse Source

Fix backup.sh

Error:
backup.sh: line 96: DEST_FILEpostgres_2022-09-01T22:43:47Z.sql.gz: not found
pull/154/head
David Sierra DiazGranados 2 years ago
committed by GitHub
parent
commit
cf092424ee
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      postgres-backup-s3/backup.sh

2
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}"

Loading…
Cancel
Save