update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERS='5.1.79-01202024'
|
VERS='5.1.80-01202024'
|
||||||
NM_BETA=false
|
NM_BETA=false
|
||||||
|
|
||||||
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '
|
noheader=' service status-check nightlyrephp7.3-fpm,new backup report check checkcerts gitea update-nodes copynpmcerts singleservercheck update-dyndns backup-offsitepfsense gui nightlyreview update log betacheck '
|
||||||
|
|||||||
@@ -509,7 +509,6 @@ BACKUP_OFFSITEPFSENSE(){
|
|||||||
|
|
||||||
if [ "$(CHECK_HOST ${OFFSITE_PFSENSE_IP})" != "false" ]; then
|
if [ "$(CHECK_HOST ${OFFSITE_PFSENSE_IP})" != "false" ]; then
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
umount ${BAKFOLDER}
|
|
||||||
mount -a
|
mount -a
|
||||||
sleep 2s
|
sleep 2s
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
@@ -576,12 +575,11 @@ BACKUP_OFFSITEPFSENSE(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
BACKUP_UNIFIUDM(){
|
BACKUP_UNIFIUDM(){
|
||||||
BAKFOLDER=/mnt/Veam-UniFi-UDM_Backups
|
BAKFOLDER=/mnt/Veeam-UniFi-UDM_Backups
|
||||||
UNIFIUDM_IP='10.5.1.1'
|
UNIFIUDM_IP='10.5.1.1'
|
||||||
|
|
||||||
if [ "$(CHECK_HOST ${UNIFIUDM_IP})" != "false" ]; then
|
if [ "$(CHECK_HOST ${UNIFIUDM_IP})" != "false" ]; then
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
umount ${BAKFOLDER}
|
|
||||||
mount -a
|
mount -a
|
||||||
sleep 2s
|
sleep 2s
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
@@ -649,12 +647,11 @@ BACKUP_UNIFIUDM(){
|
|||||||
}
|
}
|
||||||
|
|
||||||
BACKUP_UNIFINVR(){
|
BACKUP_UNIFINVR(){
|
||||||
BAKFOLDER=/mnt/Veam-UniFi-NVR_Backups
|
BAKFOLDER=/mnt/Veeam-UniFi-NVR_Backups
|
||||||
UNIFINVR_IP='10.10.70.1'
|
UNIFINVR_IP='10.10.70.1'
|
||||||
|
|
||||||
if [ "$(CHECK_HOST ${UNIFINVR_IP})" != "false" ]; then
|
if [ "$(CHECK_HOST ${UNIFINVR_IP})" != "false" ]; then
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
umount ${BAKFOLDER}
|
|
||||||
mount -a
|
mount -a
|
||||||
sleep 2s
|
sleep 2s
|
||||||
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
if [ ! -f ${BAKFOLDER}/mounted ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user