Update mysqlbu-scripts.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user