Support Support Downloads Knowledge Base Case Manager My Juniper Community

Knowledge Base

Search our Knowledge Base sites to find answers to your questions.

Ask All Knowledge Base Sites All Knowledge Base Sites JunosE Defect (KA)Knowledge BaseSecurity AdvisoriesTechnical BulletinsTechnotes Sign in to display secure content and recently viewed articles

[EOL/EOE] How to change the NSM DB Backup location

0

0

Article ID: KB12467 KB Last Updated: 18 Oct 2020Version: 4.0
Summary:
Note: A product listed in this article has either reached hardware End of Life (EOL) OR software End of Engineering (EOE).  Refer to End of Life Products & Milestones for the EOL, EOE, and End of Support (EOS) dates.
This article provides steps involved in changing the nightly NSM DB backup location

 

Solution:
NSM Server performs a nightly DB backup at 2AM. By default, NSM maintains a backup of 7 days worth of the NSM DB. Each night at 2AM, NSM will lock the DB and copy the DB snapshot on the same server under the location "/var/netscreen/dbbackup". NSM creates a directory for each day backup, naming the directory with backup1 to backup7.

 

Below are the default settings.  The customer can always change the defaults to their requirements. 

  • Change DB Backup location: This can be achieved by editing the file, /usr/netscreen/HaSvr/var/haSvr.cfg. In this file, edit the value of the parameter "highAvail.pathDbBackuP" and set the value to the new location.

  • Change the number of backups: This can be achieved by editing the file, /usr/netscreen/HaSvr/var/haSvr.cfg. In this file, edit the value of the parameter "highAvail.numOfBackups" and configure the new value. New value can be from 1 to 7.

  • Change Hour of Backup: This can be achieved by editing the file, /usr/netscreen/HaSvr/var/haSvr.cfg. In this file, edit the value of the parameter "highAvail.backupTimeHour" and set the new hour (based on 24 hour clock).

  • Turn off nightly Backups: This can be achieved by editing the file, /usr/netscreen/HaSvr/var/haSvr.cfg. In this file, edit the value of the parameter "highAvail.isLocalDbBackupEnabled" and set the value to "n".

All the above changes require reloading the parameter to the haSvr process by running the command "/etc/init.d/haSvr reload". This will only reload the parameters and will not cause any interruption to NSM processes.

Modification History:
2020-10-18: Tagged article for EOL/EOE.
 
Comment on this article > Affected Products Browse the Knowledge Base for more articles related to these product categories. Select a category to begin.

Getting Up and Running with Junos

Getting Up and Running with Junos Security Alerts and Vulnerabilities Product Alerts and Software Release Notices Problem Report (PR) Search Tool EOL Notices and Bulletins JTAC User Guide Customer Care User Guide Pathfinder SRX High Availability Configurator SRX VPN Configurator Training Courses and Videos End User Licence Agreement Global Search