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

index cb307883bcebd7275395878c29c8c2085c51f052..ae67820f4dbe2fe739615ab7012aab2b0174cfa2 100755 (executable)
@@ -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"