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