From: SVNET Libre Date: Tue, 15 May 2018 20:32:36 +0000 (+0200) Subject: Fixe Quotation marks on database backup files X-Git-Tag: v1.0.0-beta.5~29 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=ed9118bad05bcf4fe8ca06bf855d44cc23c51de1;p=oweals%2Fpeertube.git Fixe Quotation marks on database backup files --- 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"