Update mysqlbu-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/mysqlbu'
|
||||
VERS='2.45-05022023'
|
||||
VERS='2.6-08032023'
|
||||
|
||||
source /opt/idssys/defaults/colors.inc
|
||||
source /opt/idssys/defaults/default.inc
|
||||
@@ -194,7 +194,7 @@ DELETE_MENU() {
|
||||
case $1 in
|
||||
'backup')
|
||||
|
||||
if [ "$BACKUP_ServerName" != "" ]; then
|
||||
if [ "$BACKUP_ServerName" != "" ] || [ "${BACKUP_MOUNTED}" == "true" ]; then
|
||||
echo "$(date) - Checking for mounted Backup Drive..."
|
||||
if [ ! -f ${BACKUP_PATH}/mounted ]; then
|
||||
echo "$(date) - Not found, mounting drive now..."
|
||||
|
||||
Reference in New Issue
Block a user