Copy SAM domain configuration to another/new SAM domain using command line tool
Smarts 10.x
TCSA 2.x
Use the following command to create an XML file. The xml file will be created in the <basedir>/smarts/local/conf/ics directory.
To export only escalation policy:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c AutoActionPolicy <filename>
To export only client/server tools:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c Action <filename>
To export only NotificationList:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c NotificationList <filename>
To export only User:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c User <filename>
To export only UserProfile:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c UserProfile <filename>
If you want to export all the configuration from the SAM domain, then you'll run the following command:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export <filename>
To import these extracted configuration you'll use the following command, where SAM2 is the domain name of the new SAM domain you want to export the configuration to:
<BASEDIR>/smarts/bin/sm_config -s <SAM2> import --force <filename>