Importing and exporting configurations

You can export the contents of the NMS OAM database to a file, and then import the file into the NMS OAM database on another system. This feature is useful for setting up multiple identical systems.

Note: Only the entire contents of a database can be exported. Importing a database file completely obliterates and replaces all data in an existing database.

To export the contents of a configuration database, invoke oamcfg with the -export filename option, where filename is the output file to create:

oamcfg -export myfile.cfg

 

oamcfg exports a snapshot of the entire configuration to the specified output file.

Note: Do not modify the output file. It is for use by NMS OAM only.

To import the contents of a configuration database from a file, invoke oamcfg with the -import filename option, where filename is the file to import:

oamcfg -import myfile.cfg

oamcfg imports the entire configuration from the specified input file. The current configuration is lost and is replaced by the new configuration. All plug-ins are restarted.