aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSVNET Libre <svnet@brique.svnet.fr>2018-05-15 22:32:36 +0200
committerChocobozzz <me@florianbigard.com>2018-05-16 09:26:25 +0200
commited9118bad05bcf4fe8ca06bf855d44cc23c51de1 (patch)
treed5b98c0d63d10cbfa85c142b68c6ccfbfa760be6
parent136cce4d6744bef7fd316b929157c1e4e3984fe3 (diff)
downloadPeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.tar.gz
PeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.tar.zst
PeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.zip
Fixe Quotation marks on database backup files
-rwxr-xr-xscripts/upgrade.sh2
1 files changed, 1 insertions, 1 deletions
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 @@
3set -eu 3set -eu
4 4
5# Backup database 5# Backup database
6SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak" 6SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +"%Y%m%d-%H%M").bak"
7mkdir -p /var/www/peertube/backup 7mkdir -p /var/www/peertube/backup
8pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" 8pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH"
9 9