Commit 4d46e1a4 authored by Boxiang Sun's avatar Boxiang Sun

peertube: backup test fixup

parent 98eee02c
Pipeline #24949 passed with stage
in 0 seconds
......@@ -18,7 +18,7 @@ md5sum = 9eed4136d9d6f8f855b73bbfefa6397c
[instance-peertube]
_update_hash_filename_ = instance-peertube.cfg.in
md5sum = 90875f8715b0906daea937b6b05dd30a
md5sum = fad859bfcb485a4593a9fb5a89cd665c
[template-nginx-service]
filename = template-nginx-service.sh.in
......
......@@ -175,7 +175,7 @@ output = ${directory:srv}/exporter.exclude
[peertube-database-resiliency-after-import-script]
recipe = collective.recipe.template
input = inline: #!/bin/sh
${postgresql:bin}/pg_restore -h ${postgresql:pgdata-directory} -c -U peertube -d peertube_prod ${directory:peertube_directory}/peertube_prod-dump.db
${postgresql:bin}/pg_restore -h ${postgresql:pgdata-directory} -c -U peertube -d peertube_prod ${directory:srv}/backup/peertube_prod-dump.db
output = ${directory:srv}/runner-import-restore
mode = 755
......
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