X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Frestore_app.sh;h=c4520824d32e22fc7c547ae8296f59e2a1df6fa9;hb=20c2ad6e5354eec1b26663e556c5b177624f7033;hp=cb307883bcebd7275395878c29c8c2085c51f052;hpb=19bd8ce75275c6d6d737dbdf78ab3d969369b19f;p=config
diff --git a/buster/setup_scripts/restore_app.sh b/buster/setup_scripts/restore_app.sh
index cb30788..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} -1 ${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"