This content has been marked as final. Show 2 replies
You can use the "searchadminctl" in the bin directory of SES to export/import the definition & associated parameters of the SES objects
The program will both work as a interactive command prompt, or you can script it so that it doesn't prompt for anything.
It works by using xml files
searchadminctl -p <password> -c http://<Source servername>:<port>/search/ws/admin/SearchAdmin source -export "<source name>" -configFile <filelocation>/<filename>.xml
The -c option allows you to connect to any other SES server
This will put the source definition in a file.It will have environment specific things and hence we need to parse the XML file to removing these values, such as Database Connection Strings.
For Passwords, we need to update the entry and set the encryption to false and While importing, Put the unencrypted password.
<parameter name="Password"><value encrypted="false"></value></parameter
Then for import, it is the same command but with the term "create" or "update" where "export" is. Also replace the source SES server with the target server url and password where we need to create the SES objects.