From: Christian Heller Date: Fri, 14 Feb 2020 23:16:31 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/te"st.html?a=commitdiff_plain;h=26eb0115d4ef96a12f8a98577400606035b279b7;p=config Fix. --- diff --git a/buster/setup_scripts/backup_app.sh b/buster/setup_scripts/backup_app.sh index ca69778..6f98552 100755 --- a/buster/setup_scripts/backup_app.sh +++ b/buster/setup_scripts/backup_app.sh @@ -17,7 +17,7 @@ mkdir "${app}_backup" service "${app}" stop -su postgres -lc "pg_dump -d ${db_name} --format=custom -f ${app}_backup/${db_name}.pgdump" +su postgres -lc "pg_dump -d ${db_name} --format=custom -f /tmp/${app}_backup/${db_name}.pgdump" for target in "$@"; do cp -a "${target}" "${app}_backup${target}" done