From ed9118bad05bcf4fe8ca06bf855d44cc23c51de1 Mon Sep 17 00:00:00 2001 From: SVNET Libre Date: Tue, 15 May 2018 22:32:36 +0200 Subject: Fixe Quotation marks on database backup files --- scripts/upgrade.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh index 2be7b49df..feb3091a8 100755 --- a/scripts/upgrade.sh +++ b/scripts/upgrade.sh @@ -3,7 +3,7 @@ set -eu # Backup database -SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak" +SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +"%Y%m%d-%H%M").bak" mkdir -p /var/www/peertube/backup pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" -- cgit v1.2.3