From 8d07083a5078d3252af1c3fc2b7b2015074e4ad9 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sat, 15 Feb 2020 00:19:46 +0100 Subject: [PATCH] Fix. --- buster/setup_scripts/backup_app.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2