diff options
Diffstat (limited to 'mysql/mysql_backup.sh')
-rwxr-xr-x | mysql/mysql_backup.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mysql/mysql_backup.sh b/mysql/mysql_backup.sh index 3960847..1e25518 100755 --- a/mysql/mysql_backup.sh +++ b/mysql/mysql_backup.sh @@ -57,6 +57,7 @@ echo "Started backup of mysql databases ($(date +%c)):" | log echo | log # create temporary dir +mkdir -p ${TMP_DIRECTORY} TMP_DIR=$(mktemp -d --tmpdir=${TMP_DIRECTORY}) pushd ${TMP_DIR} >/dev/null 2>&1 |