update
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user