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