From 86c0939fa9552865b1c1bda6156481add58b2f01 Mon Sep 17 00:00:00 2001 From: Alan Garcia Date: Thu, 31 Jan 2013 08:44:33 +0000 Subject: [PATCH] Should fix #1434 --- src/sqlbackup.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/sqlbackup.sh b/src/sqlbackup.sh index a82e2a06..562e79e5 100755 --- a/src/sqlbackup.sh +++ b/src/sqlbackup.sh @@ -136,6 +136,9 @@ function dobck() { ext="" fi + # The target directory must exist + test -d "$target_dir" || mkdir -p "$target_dir" + # if $SQLBACKUP_TYPE is set to "rotate" classical rotation files methode will be used # use incrementale number in the name of files where the highest number indicate # the oldest files