From 7fcef9c0c1e67815d09db8fa0c9c44a7f2141e36 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sat, 1 Jul 2023 20:48:10 -0500 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index ead0a63..5216633 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -194,7 +194,7 @@ DELETE_MENU() { case $1 in 'backup') - # if [ "$BACKUP_ServerName" != "" ]; then + if [ "$BACKUP_ServerName" != "" ]; then echo "$(date) - Checking for mounted Backup Drive..." if [ ! -f ${BACKUP_PATH}/mounted ]; then echo "$(date) - Not found, mounting drive now..." @@ -218,7 +218,7 @@ case $1 in echo "$(date) - Backup Drive already mounted" fi - # fi + fi if [ "${BACKUP_TYPE}" == "xtrabackup" ] || [ "${BACKUP_TYPE}" == "both" ]; then [ "$BASE_BACKUP" = "" ] && $0 backup-base || $0 backup-incremental