Update mysqlbu-scripts.sh

This commit is contained in:
2023-05-07 16:28:58 -05:00
parent ea59d02118
commit e8c6db654e

View File

@@ -192,6 +192,7 @@ DELETE_MENU() {
case $1 in
'backup')
if [ "$BACKUP_ServerName" != "" ]; then
echo "$(date) - Checking for mounted Backup Drive..."
if [ ! -f ${BACKUP_PATH}/mounted ]; then
@@ -218,7 +219,9 @@ case $1 in
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