This commit is contained in:
2024-01-20 22:30:10 -06:00
parent d55360b018
commit fcda6d4ce6
2 changed files with 3 additions and 6 deletions

View File

@@ -509,7 +509,6 @@ BACKUP_OFFSITEPFSENSE(){
if [ "$(CHECK_HOST ${OFFSITE_PFSENSE_IP})" != "false" ]; then
if [ ! -f ${BAKFOLDER}/mounted ]; then
umount ${BAKFOLDER}
mount -a
sleep 2s
if [ ! -f ${BAKFOLDER}/mounted ]; then
@@ -576,12 +575,11 @@ BACKUP_OFFSITEPFSENSE(){
}
BACKUP_UNIFIUDM(){
BAKFOLDER=/mnt/Veam-UniFi-UDM_Backups
BAKFOLDER=/mnt/Veeam-UniFi-UDM_Backups
UNIFIUDM_IP='10.5.1.1'
if [ "$(CHECK_HOST ${UNIFIUDM_IP})" != "false" ]; then
if [ ! -f ${BAKFOLDER}/mounted ]; then
umount ${BAKFOLDER}
mount -a
sleep 2s
if [ ! -f ${BAKFOLDER}/mounted ]; then
@@ -649,12 +647,11 @@ BACKUP_UNIFIUDM(){
}
BACKUP_UNIFINVR(){
BAKFOLDER=/mnt/Veam-UniFi-NVR_Backups
BAKFOLDER=/mnt/Veeam-UniFi-NVR_Backups
UNIFINVR_IP='10.10.70.1'
if [ "$(CHECK_HOST ${UNIFINVR_IP})" != "false" ]; then
if [ ! -f ${BAKFOLDER}/mounted ]; then
umount ${BAKFOLDER}
mount -a
sleep 2s
if [ ! -f ${BAKFOLDER}/mounted ]; then