diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index fc5f2a3..769057f 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -192,7 +192,6 @@ DELETE_MENU() { case $1 in 'backup') - echo 'yes' if [ "$BACKUP_ServerName" != "" ]; then echo "$(date) - Checking for mounted Backup Drive..." if [ ! -f ${BACKUP_PATH}/mounted ]; then @@ -220,9 +219,11 @@ case $1 in fi if [ "${BACKUP_TYPE}" == "xtrabackup" ] || [ "${BACKUP_TYPE}" == "both" ]; then + echo 'yes' [ "$BASE_BACKUP" = "" ] && $0 backup-base || $0 backup-incremental fi if [ "${BACKUP_TYPE}" == "mysqldump" ] || [ "${BACKUP_TYPE}" == "both" ]; then + echo 'yes' /usr/local/bin/mysqlbu mysqldump fi