Commit 9faa3e08 authored by Boxiang Sun's avatar Boxiang Sun

peertube: backup test fixup

parent 3aadd960
...@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e ...@@ -54,4 +54,4 @@ md5sum = 58d1a4fe246169dea94d7d243b4bac9e
[template-peertube-restore-script] [template-peertube-restore-script]
filename = template-peertube-restore.sh.in filename = template-peertube-restore.sh.in
md5sum = d3189a97e1898cc319acb7bc28ef3245 md5sum = ad94a08007a879af14c35f0f58503f1e
...@@ -24,7 +24,7 @@ if [ -e "$pid_file" ]; then ...@@ -24,7 +24,7 @@ if [ -e "$pid_file" ]; then
fi fi
# 2. Restore database # 2. Restore database
$${postgresql:bin}/pg_restore -h $${postgresql:pgdata-directory} -C -c -U peertube $${directory:srv}/backup/peertube_prod-dump.db $${postgresql:bin}/pg_restore -h $${postgresql:pgdata-directory} --exit-on-error -c -d peertube_prod -U peertube $${directory:srv}/backup/peertube_prod-dump.db
# 3. # 3.
echo "Starting postgresql..." echo "Starting postgresql..."
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment