Update mysqlbu-scripts.sh

This commit is contained in:
2023-05-07 16:27:56 -05:00
parent 066d14b7f5
commit 00010f90e6

View File

@@ -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