home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix.
[config]
/
buster
/
setup_scripts
/
restore_app.sh
diff --git
a/buster/setup_scripts/restore_app.sh
b/buster/setup_scripts/restore_app.sh
index cb307883bcebd7275395878c29c8c2085c51f052..c4520824d32e22fc7c547ae8296f59e2a1df6fa9 100755
(executable)
--- 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"
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"
rm "${app}_backup/${db_name}.pgdump"
cd "${app}_backup"