X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Frestore_app.sh;h=c4520824d32e22fc7c547ae8296f59e2a1df6fa9;hb=20c2ad6e5354eec1b26663e556c5b177624f7033;hp=ae67820f4dbe2fe739615ab7012aab2b0174cfa2;hpb=90bd34dcc5cc4cc01c05da41b00a622b1e7535fb;p=config
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"