From 00010f90e6455c6b0ed6546440c3eb673c14941f Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 7 May 2023 16:27:56 -0500 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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