There are two options for the sm_config import command:
-
--force: Use this option to override the default and allow modification of existing XML-configurable objects with those in your XML import file.
-
--replace: Use this option when you want to remove all the XML-configurable objects that exist in the repository and replace them with the objects in your XML import file. This option is typically used when copying configurations from one Global Manager to another Global Manager in order to duplicate the repository objects.
As an example, use the following command to import configuration objects from a file called ics-conf.xml into a Global Manager called INCHARGE-SA and overwrite any existing configurations:
sm_config -s INCHARGE-SA import --force ics-conf.xml