mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-20 01:47:21 +03:00
Update shebang and date format for working on FreeBSD (fix typo)
(not tested on Linux)
This commit is contained in:
parent
1069d3a4dc
commit
f8087a5476
@ -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"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user