Disaster Recovery

Contents

 

Overview

In the rare event of something going wrong with Network Configuration Manager, it is important to have a backup of device configuration to recover from the disaster. Network Configuration Manager provides two utilities to achieve this:

  1. Backing up the device configuration files

  2. Backing up the entire database

Once you have the backup, it is easy to achieve a quick disaster recovery. In the Network Configuration Manager GUI, tools have been provided to export the configuration files & backing up the database. Besides, scripts have been provided to facilitate backup of configuration files or database when Network Configuration Manager server is not running.

 

Backing up Device Configuration Files

 

Storing Configuration on Secondary Storage Devices

If you need a copy of all the device configuration files in Network Configuration Manager database and want to store them somewhere, here is an option. Configuration files of all devices in the Network Configuration Manager database can be exported in text format and stored in a separate directory. Only administrators shall have the permission to do this operation. You can even store the configuration files in secondary storage devices such as Memory Cards.

The configuration files could be exported on demand at any point of time or it could be scheduled to be generated at periodic intervals - say daily, weekly or monthly.

To export configuration files immediately on demand,

  1. Go to "Settings" >> "Global Settings" >> "Export Configuration".

  2. In the UI that opens up, click 'Export Configurations Now'

  3. The result of the execution of this operation will be displayed in the UI that opens up.

  4. The exported configuration files will get stored under <NCM_home>/config_backup.

 

To schedule export of configuration files,

  1. Go to "Settings" >> "Global Settings" >> "Export Configuration".

  2. In the UI that opens up, select the desired option - Daily, Weekly or Monthly. Also, choose the desired time/day/date accordingly.

  3. You can even intimate the result of the export operation (whether success/failure) to desired recipients via email. Just enter the required email ID in the text field.

  4. Click 'Save'.

  5. The schedule will get executed at the required time. You can view the result of the execution by clicking the link 'View Execution History' present at the top right hand corner.

  6. The exported configuration files will get stored under <NCM_Home>/config_backup directory. The exported configurations are stored under this location in datewise folders. That means, the configurations exported on a particular day are stored under a separate folder. For example, <NCM_Home>/config_backup/Aug-20-2010

Note: To disable the execution, select the 'Never' option.

 

Exporting Configuration files when Network Configuration Manager Server is not running

Network Configuration Manager provides a script, which will generate configuration files of each device in text format and store it under a separate directory.

To take backup of configuration files,

  1. Open a command prompt and navigate to <NCM_Home>/bin directory .

  2. Execute configbackup.bat (in windows) OR sh configbackup.sh (in Linux).

  3. A new directory "config_backup" will be created under <NCM_home> and the configuration files will be saved under this.

  4. The filename will be of the format: <ResourceName>_<FileType>.txt.<resourcename><filetype> For example, cat2900_Running.txt and cat2900_Startup.txt

You can take a backup of 'config_backup' directory through your own automated backup mechanism.

 

 

 


 

Was this article helpful?