Thought the list might be interested in how I finally resolved this. I created a script with the following text, and setup a cron job to run it on a regular basis.
DATESTAMP=`date +%y.%m.%d` echo y | snapshot -s <server_IP> <username> <password> snapshot_$DATESTAMP -----Original Message----- From: Jarmoc, Jeff Sent: Monday, February 07, 2005 2:49 PM To: 'Mailing list for discussion of Firewall-1' Subject: Backup / Snapshot of Secureplatform & zebra I'm working on configuring a new secureplatform box, which also has zebra and ospfd running on it. In testing backup/restore procedures, I've found that the included backup utility does not backup zebra configuration, but that the snapshot utility does. Therefore, I'm trying to automate running snapshot and copying the resulting file via SCP. So far, the following command seems to be what I want as it runs the command and creates an image file with the date included in the filename; snapshot --scp <serverip> <user> <password> snapshot_`date` However, the snapshot utility starts off with a prompt, and requires 'y' followed by a carriage return to continue. Is there some way to include entering this in my command? Alternately, is there a better way to save the configuration of a SPLAT box, including zebra (and potentially other configuration done outside CP ie. GRE tunnels)? Thanks for your help in advance. Jeff Jarmoc - CCSA, CCNA, MCSE Sr. Network Analyst - Grubb & Ellis ================================================= To set vacation, Out-Of-Office, or away messages, send an email to [EMAIL PROTECTED] in the BODY of the email add: set fw-1-mailinglist nomail ================================================= To unsubscribe from this mailing list, please see the instructions at http://www.checkpoint.com/services/mailing.html ================================================= If you have any questions on how to change your subscription options, email [EMAIL PROTECTED] =================================================
