{"id":685,"date":"2009-08-08T14:15:23","date_gmt":"2009-08-08T14:15:23","guid":{"rendered":"https:\/\/fir3netwp.gmsrrpobkbd.com\/2009\/08\/08\/backup-restore-an-nsm-sp-1858409026\/"},"modified":"2021-07-24T19:01:05","modified_gmt":"2021-07-24T19:01:05","slug":"backup-restore-an-nsm-sp-1858409026","status":"publish","type":"post","link":"https:\/\/www.fir3net.com\/Firewalls\/Juniper\/backup-restore-an-nsm-sp-1858409026.html","title":{"rendered":"Backup \/ Restore a Juniper NSM"},"content":{"rendered":"

This article will show you how to backup and restore your Juniper NSM. This article was written using NSM version 2008.2r1.<\/span>
Within NSM the HighAvailSvr contains processes that run in both HA and non-HA mode and handles database backups and a watchdog daemon to restart NSM processes in case of failure.<\/span><\/p>\n

Backup<\/strong><\/h2>\n

Even though you will have your NSM configured to run automated backups. You may need to run a manual backup before making any major changes (such as upgrades etc).<\/p>\n

To create a manual backup run the following,<\/p>\n

[root@localhost \/]# sudo -u nsm \/usr\/netscreen\/HaSvr\/utils\/replicateDb backup<\/pre>\n

This should run through and create a manual backup. If not you may get the following error,<\/p>\n

[root@localhost utils]# sudo -u nsm \/usr\/netscreen\/HaSvr\/utils\/replicateDb backup
 Got arguments: backup.  This might take a while to process …
Ha\/Backup: FAIL<\/p>\n

This will most likey be down to permission issues. The following should help you resolve the issue,<\/p>\n