diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index a27110f5..fcbeee9d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -574,11 +574,11 @@ UPDATE_DYNDNS(){ BACKUP_OFFSITEPFSENSE(){ BAKFOLDER=/mnt/BU-Raid1/Offsite-pfSense_Backups newBAKFOLDER=${BAKFOLDER}/`date +%Y%m%d-%H%M` - mkdir ${newBAKFOLDER} - - ssh root@10.2.1.1 tar -c -f /cf/conf/conf_backup.tar.gz /cf/conf - scp root@10.2.1.1:/cf/conf/conf* ${newBAKFOLDER}/ - ssh root@10.2.1.1 rm -f /cf/conf/conf_backup.tar.gz + # mkdir ${newBAKFOLDER} + # + # ssh root@10.2.1.1 tar -c -f /cf/conf/conf_backup.tar.gz /cf/conf + # scp root@10.2.1.1:/cf/conf/conf* ${newBAKFOLDER}/ + # ssh root@10.2.1.1 rm -f /cf/conf/conf_backup.tar.gz [ "${BackupsToKeep}" == "" ] && BackupsToKeep=2 files=(`ls -d ${BAKFOLDER}/* | tail -${BackupsToKeep}`)