Update mysqlbu-scripts.sh

This commit is contained in:
2023-07-01 20:48:10 -05:00
parent 598b169219
commit 7fcef9c0c1

View File

@@ -194,7 +194,7 @@ DELETE_MENU() {
case $1 in
'backup')
# if [ "$BACKUP_ServerName" != "" ]; then
if [ "$BACKUP_ServerName" != "" ]; then
echo "$(date) - Checking for mounted Backup Drive..."
if [ ! -f ${BACKUP_PATH}/mounted ]; then
echo "$(date) - Not found, mounting drive now..."
@@ -218,7 +218,7 @@ case $1 in
echo "$(date) - Backup Drive already mounted"
fi
# fi
fi
if [ "${BACKUP_TYPE}" == "xtrabackup" ] || [ "${BACKUP_TYPE}" == "both" ]; then
[ "$BASE_BACKUP" = "" ] && $0 backup-base || $0 backup-incremental