home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:22:37 +0000 (00:22 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 14 Feb 2020 23:22:37 +0000 (00:22 +0100)
buster/setup_scripts/restore_app.sh

index ae67820f4dbe2fe739615ab7012aab2b0174cfa2..c4520824d32e22fc7c547ae8296f59e2a1df6fa9 100755 (executable)
@@ -19,7 +19,7 @@ mv "/home/plom/${app}_backup.tar" /tmp/
 cd /tmp
 tar xf "${app}_backup.tar"
 
 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"
 rm "${app}_backup/${db_name}.pgdump"
 
 cd "${app}_backup"