From 90bd34dcc5cc4cc01c05da41b00a622b1e7535fb Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 15 Feb 2020 00:21:57 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/restore_app.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.30.2