| CPUG | |
| The Check Point User Group | |
| A Resource For The Check Point Community. Fast. Useful. Independent. | |
|
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| |||
| for example DATE=`/bin/date +%Y%m%d` UNAME='CP_server' PTH='/var/CPbackup/backups/' FILE=$UNAME'_backup_'$DATE # /bin/backup --file $FILE 1>/tmp/backup.log 2>&1 <<EOC yes EOC # /bin/echo "The MD5 checksum of the $FILE.tgz is: `/usr/bin/md5sum $PTH$FILE'.tgz' | /bin/awk '{print $1}'`." > /tmp/$FILE'_md5.txt' # /usr/bin/ftp -in ip_ftp_server <<EOC user username password binary passive put $PTH$FILE'.tgz' $FILE'.tgz' put /tmp/$FILE'_md5.txt' $FILE'_md5.txt' close bye EOC # |
![]() |
| Thread Tools | |
| Display Modes | |
| |