diff options
author | SVNET Libre <svnet@brique.svnet.fr> | 2018-05-15 22:32:36 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-16 09:26:25 +0200 |
commit | ed9118bad05bcf4fe8ca06bf855d44cc23c51de1 (patch) | |
tree | d5b98c0d63d10cbfa85c142b68c6ccfbfa760be6 | |
parent | 136cce4d6744bef7fd316b929157c1e4e3984fe3 (diff) | |
download | PeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.tar.gz PeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.tar.zst PeerTube-ed9118bad05bcf4fe8ca06bf855d44cc23c51de1.zip |
Fixe Quotation marks on database backup files
-rwxr-xr-x | scripts/upgrade.sh | 2 |
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 @@ | |||
3 | set -eu | 3 | set -eu |
4 | 4 | ||
5 | # Backup database | 5 | # Backup database |
6 | SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak" | 6 | SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +"%Y%m%d-%H%M").bak" |
7 | mkdir -p /var/www/peertube/backup | 7 | mkdir -p /var/www/peertube/backup |
8 | pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" | 8 | pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" |
9 | 9 | ||