Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fixe Quotation marks on database backup files

SVNET Libreed9118bad05b
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh
index 2be7b49df9..feb3091a81 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"