From: Christian Heller Date: Fri, 14 Feb 2020 23:19:46 +0000 (+0100) Subject: Fix. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/do_todos?a=commitdiff_plain;h=8d07083a5078d3252af1c3fc2b7b2015074e4ad9;p=config Fix. --- diff --git a/buster/setup_scripts/backup_app.sh b/buster/setup_scripts/backup_app.sh index 0dfb36e..cd453ad 100755 --- a/buster/setup_scripts/backup_app.sh +++ b/buster/setup_scripts/backup_app.sh @@ -20,6 +20,7 @@ service "${app}" stop su postgres -lc "pg_dump -d ${db_name} --format=custom -f /tmp/${app}_backup/${db_name}.pgdump" for target in "$@"; do + mkdir -p "${app}_backup${target}" cp -a "${target}" "${app}_backup${target}" done #for target in "$@"; do