From: Christian Heller Date: Fri, 14 Feb 2020 23:21:57 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/berlin_corona.txt?a=commitdiff_plain;h=90bd34dcc5cc4cc01c05da41b00a622b1e7535fb;p=config Fix. --- diff --git a/buster/setup_scripts/restore_app.sh b/buster/setup_scripts/restore_app.sh index cb30788..ae67820 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} -1 ${app}_backup/${db_name}.pgdump" +su postgres -c "pg_restore -c -C -d ${db_name} ${app}_backup/${db_name}.pgdump" rm "${app}_backup/${db_name}.pgdump" cd "${app}_backup"