From ed78b57989779a5122bbd35ea021c1d325e78e4a Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Sun, 7 May 2023 16:29:18 -0500 Subject: [PATCH] Update mysqlbu-scripts.sh --- mysqlbu-scripts.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/mysqlbu-scripts.sh b/mysqlbu-scripts.sh index fee53c9..8f6b9c8 100755 --- a/mysqlbu-scripts.sh +++ b/mysqlbu-scripts.sh @@ -218,10 +218,8 @@ case $1 in fi fi - echo 'yes' - echo ${BACKUP_TYPE} + 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