Commit 16372e53 authored by Jérome Perrin's avatar Jérome Perrin

Revert "metabase: fix restoring backups"

This reverts commit 8218f34a.

This did not work at all
parent 76045cfa
[instance-profile]
filename = instance.cfg.in
md5sum = c79f0bcf9dac25060340aa829c4f291c
md5sum = 0e74c862401f266111552b7a3611f7bf
......@@ -190,13 +190,12 @@ wrapper-path = $${directory:bin}/$${:_buildout_section_name_}
command-line =
sh -e -c "\
echo 'This will replace current database with latest backup. Hit Ctrl+C to cancel';
sleep 5;
sleep 30;
$${postgresql:bin}/pg_restore \
--exit-on-error \
--clean \
--create \
-h $${postgresql:pgdata-directory} \
-U $${postgresql:superuser} \
-d $${postgresql:dbname} \
$${postgresql-backup:backup-file}"
[cron]
......
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