@the_rock you are awesome. Thanks a lot.
Below is what i tried.
I used below connd to export from MDS:
[Expert@LAB:0]# $MDS_FWDIR/scripts/migrate_server export -skip_upgrade_tools_check --ignore_warnings -v R81.10 /var/log/Export_for_Migration.tgz
To Import on SMS: Tried a couple of things.
[Expert@MGMT:0]# cd $FWDIR/scripts/
[Expert@MGMT:0]# ./migrate_server migrate_import_domain -v R81.20 [-skip_upgrade_tools_check] [-l | -x] [/var/log/mdss.json] [--include-uepm-msi-files] [--exclude-uepm-postgres-db] /<Full Path>/<Name of Exported File>.tgz
[Expert@MGMT:0]#./migrate_server migrate_import_domain Test_Management_Server -skip_upgrade_tools_check --ignore_warnings -v R81.10 /var/log/Export_for_Domain_Migration.tgz
[Expert@MGMT:0]# ./migrate_server migrate_import_domain -sn Test_Management_Server -skip_logs -o /var/log/Export_for_Domain_Migration.tgz
Tried exporting single CMA using migrate_server:
[Expert@LAB:0]# mdsenv Test_Management_Server
[Expert@LAB:0]# $MDS_FWDIR/scripts/migrate_server export -skip_upgrade_tools_check --ignore_warnings -v R81.10 /var/log/Export_for_Test.tgz
[Expert@LAB:0]#/opt/CPmds-R81.10/customers/Test_Management_Server/CPsuite-R81.10/fw1/scripts/migrate_server export -skip_upgrade_tools_check --ignore_warnings -v R81.10 /var/log/Export_for_Migration_Sothebys.tgz
Now Tried the APIs to export Single Domain as below:
[Expert@LAB:0]# mgmt_cli export-management version R81.10 domain-name "Test_Management_Server" file-path "var/log/Test_Management_Server_exported.tgz" --domain 'System Data' --format json
Even this failed.