aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/upgrade.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh
index a0abe7ea6..bd90ce560 100755
--- a/scripts/upgrade.sh
+++ b/scripts/upgrade.sh
@@ -4,7 +4,7 @@
4set -e 4set -e
5 5
6# Backup database 6# Backup database
7SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%h%m\").bak" 7SQL_BACKUP_PATH="/var/www/peertube/backup/sql-peertube_prod-$(date +\"%Y%m%d-%H%M\").bak"
8mkdir -p /var/www/peertube/backup 8mkdir -p /var/www/peertube/backup
9pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH" 9pg_dump -U peertube -W -h localhost -F c peertube_prod -f "$SQL_BACKUP_PATH"
10 10