Update nodemgmt-scripts.sh

This commit is contained in:
2023-09-04 15:17:58 -05:00
parent 359e9418ed
commit 6012178256

View File

@@ -576,7 +576,7 @@ BACKUP_OFFSITEPFSENSE(){
newBAKFOLDER=${BAKFOLDER}/`date +%Y%m%d-%H%M%S` newBAKFOLDER=${BAKFOLDER}/`date +%Y%m%d-%H%M%S`
mkdir ${newBAKFOLDER} mkdir ${newBAKFOLDER}
DOM='04' DOM='04'
DOW='2' DOW='1'
ssh root@10.2.1.1 tar -c -f /cf/conf/conf_backup.tar.gz /cf/conf 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}/ scp root@10.2.1.1:/cf/conf/conf* ${newBAKFOLDER}/