Update mysqlbu-scripts.sh

This commit is contained in:
2023-12-15 10:14:09 -06:00
parent d9d8b20184
commit 24633b1aca

View File

@@ -199,7 +199,9 @@ case $1 in
if [ ! -f ${BACKUP_PATH}/mounted ]; then if [ ! -f ${BACKUP_PATH}/mounted ]; then
echo "$(date) - Not found, mounting drive now..." echo "$(date) - Not found, mounting drive now..."
# mount.cifs ${BACKUP_ServerName} ${BACKUP_PATH} -o user=${BACKUP_UserName},password=${BACKUP_Password} # mount.cifs ${BACKUP_ServerName} ${BACKUP_PATH} -o user=${BACKUP_UserName},password=${BACKUP_Password}
rm -Rf /mnt/MySQL-Backups/* umount ${BACKUP_PATH}
rm -Rf ${BACKUP_PATH}
mkdir -p ${BACKUP_PATH}
mount -a mount -a
c=0 c=0
until [ $c -gt 179 ]; do until [ $c -gt 179 ]; do