Skip to content

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

Update shebang and date format for working on FreeBSD (fix typo) (not tested on Linux)

Gérald Nielf8087a5476ec
diff --git a/scripts/upgrade.sh b/scripts/upgrade.sh
index a0abe7ea61..bd90ce5602 100755
--- a/scripts/upgrade.sh
+++ b/scripts/upgrade.sh
@@ -4,7 +4,7 @@
set -e
# 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"