From 3780fc77074bae464d0ffb899398e28100980560 Mon Sep 17 00:00:00 2001 From: Daniel Egger Date: Mon, 9 May 2022 15:32:54 +0200 Subject: [PATCH] Take backup file name from app --- bin/pg-backup-to-s3 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/pg-backup-to-s3 b/bin/pg-backup-to-s3 index 704cab46..063f31c0 100755 --- a/bin/pg-backup-to-s3 +++ b/bin/pg-backup-to-s3 @@ -17,7 +17,7 @@ gzip $dump_file gpg --yes --passphrase=$PG_BACKUP_KEY --batch -c $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 # the default S3 bucket for Django