From: Christian Heller Date: Fri, 14 Feb 2020 23:22:37 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/static/%7B%7B%20web_path%20%7D%7D/task?a=commitdiff_plain;h=20c2ad6e5354eec1b26663e556c5b177624f7033;p=config Fix. --- diff --git a/buster/setup_scripts/restore_app.sh b/buster/setup_scripts/restore_app.sh index ae67820..c452082 100755 --- a/buster/setup_scripts/restore_app.sh +++ b/buster/setup_scripts/restore_app.sh @@ -19,7 +19,7 @@ mv "/home/plom/${app}_backup.tar" /tmp/ cd /tmp tar xf "${app}_backup.tar" -su postgres -c "pg_restore -c -C -d ${db_name} ${app}_backup/${db_name}.pgdump" +su postgres -c "pg_restore -c -1 -d ${db_name} ${app}_backup/${db_name}.pgdump" rm "${app}_backup/${db_name}.pgdump" cd "${app}_backup"