Take backup file name from app

This commit is contained in:
Daniel Egger 2022-05-09 15:32:54 +02:00
parent 3ebe43da46
commit 3780fc7707
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ gzip $dump_file
gpg --yes --passphrase=$PG_BACKUP_KEY --batch -c $dump_file.gz gpg --yes --passphrase=$PG_BACKUP_KEY --batch -c $dump_file.gz
rm $dump_file.gz rm $dump_file.gz
BACKUP_FILE_NAME="myskillbox-pg-backup-$(date '+%Y-%m-%d').gpg" BACKUP_FILE_NAME="$APP_NAME-pg-backup-$(date '+%Y-%m-%d').gpg"
# temporarily set the access key, because we use a different one for the backup and # temporarily set the access key, because we use a different one for the backup and
# the default S3 bucket for Django # the default S3 bucket for Django