12-11-2007 01:28 AM
Solved! Go to Solution.
12-14-2007 02:12 AM
01-24-2008 12:35 PM
02-12-2008 02:04 AM
02-19-2008 02:10 AM
02-19-2008 11:44 PM - edited 02-21-2008 07:15 PM
02-28-2008 02:58 AM
can i just check...
Can i just copy the latest backup file automatically created by NSM eg /var/netscreen/dbbackup/backup1 from NSM to other media ( eg usb disc ) and this will be enough to use as a restore of the config of NSM in event of a total server lost.
02-28-2008 02:01 PM
07-24-2009 08:49 AM
You all may find this handy, this automates and kicks off backups via FTP.
I usually place it in /usr/local/bin, set permissions to 775, owner to nsm, and group to nsm.
Bear in mind this code is for an NSMExpress, your installation may differ.
This is setup for a daily backup, so in your HaSvr.cfg set highAvail.numOfBackups to 7
This will pick the backup folder for that day of the week, compress it, and name it based on the datestamp.
After it's done with that, it will FTP it to the server you specify.
When complete, it will cleanup after itself. i.e. the archive it just created.
If you want to start this from cron, you need to su to the nsm user, and edit your crontab.
sudo su - nsm
to run every night at midnight, add the following line:
00 23 * * * root /usr/local/bin/nsm_backup.pl