You can add a new data domain that replicates an existing one with the endeca-cmd clone-dd name command, or with the cloneDataDomain operation of the Manage Web Service.
The name of the new data domain should not be already in use by any other data domain in the Oracle Endeca Server.
To clone a data domain:
Specify the name for the new data domain on the command line, the name of the source data domain with --source-name, and (optionally) whether the domain should be enabled. If you don't specify the value for enabling, the new data domain is enabled by default.
endeca-cmd clone-dd MyNewDD --source-name MyExistingDD --is-enabled true
This example creates a copy of the MyExistingDD data domain, gives it a name MyNewDD, and enables this new data domain after it has been created.
<ns1:cloneDataDomain xmlns:ns1="http://www.endeca.com/endeca-server/manage/1/0"> <ns1:name>MyNewDD</ns1:name> <ns1:sourceName>MyExistingDD</ns1:sourceName> <ns1:enabled>true</ns1:enabled> </ns1:cloneDataDomain>
If the Endeca Server cluster has sufficient capacity, the new data domain is created as a copy of the existing data domain.