Copy SAM domain configuration to another/new SAM domain using command line tool - sm_config
All Supported Smarts releases
Use the following command to create an XML file. The xml file will be created in the <basedir>/smarts/local/conf/ics directory.
1. To export only escalation policy:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c AutoActionPolicy <filename>2. To export only client/server tools:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c Action <filename>3. To export only NotificationList:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c NotificationList <filename>4. To export only User:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c User <filename>5. To export only UserProfile:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c UserProfile <filename>6. To export only Domain list:
<BASEDIR>/smarts/bin/sm_config -s <SAM1> export -c DomainConfig <filename>7. 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>