From 808e7e3a8770b2f21ec8146837bb3513f63e0481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Sat, 22 Feb 2025 21:52:40 +0100 Subject: [PATCH] Create tmp directory if it doesn't exist already --- bin/backuptool | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/backuptool b/bin/backuptool index efc4ba6..8c1aa2b 100755 --- a/bin/backuptool +++ b/bin/backuptool @@ -402,6 +402,7 @@ fi # Grab the MySQL pass we need for dumping backups [ -d "/federated/apps/pdnsmysql" ] && MYSQL_PASSWORD=`cat /federated/apps/pdnsmysql/.env | grep MYSQL_ROOT_PASSWORD | awk -F= '{ print $2 }'` +mkdir -p /federated/tmp # If -d is specified then run delete backup [ $RUN_DELETE ] && delete_backup