Saturday, December 1, 2012

Backing up NSM GUI server database

Steps to make a "snapshot" of the NSM current installation.

1. Become root user on the system.

2. Verify there is sufficient space to back up the install.

 Depending on the space available, the tar commands below may need to have different destination directories.

 The examples listed save all the data to the /var/tmp/ directory.

 Use the df command with -k or -h options to get a rough idea of how much space is needed.

3.  Shutdown all NSM services.  If running in HA, shutdown the backup GUI server and then the primary GUI server using the below command.

 /etc/init.d/haSvr stop

4. If not in HA, then shut down the specific services using one of the below commands.

 /etc/init.d/guiSvr stop

5. Backup the /usr/netscreen directory first.

 tar -pzcvf /var/tmp/backup_usr_netscreen.tgz /usr/netscreen/

6. Backup the /var/netscreen directory as well

 tar -pzcvf /var/tmp/backup_var_netscreen.tgz /var/netscreen/

7. The NSM install is now backed up in to two archived files.


Leave your comment below

No comments:

Post a Comment