From 26eb0115d4ef96a12f8a98577400606035b279b7 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Sat, 15 Feb 2020 00:16:31 +0100
Subject: [PATCH] Fix.

---
 buster/setup_scripts/backup_app.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
2.30.2