export creatable_type

Returns the XML description of an object.

See Also

export universal_type
exportAll creatable_type
exportList creatable_type

Syntax

export creatable_type object_key [--OUTPUT_FILE=output_file] [--ENCRYPT_KEY=key]

or

export creatable_type object_key [-o output_file] [-e key]

Parameters

creatable_type

A creatable type:

alert
altWord
clusterTree
identityPlugin
proxyLogin
schedule
searchAttr
skinBundle
source
sourceGroup
sourceType
storageArea
suggLink
task
thesaurus
object_key

Unique identifier of the object. See the object description in Chapter 2, "Administration Object Types."

output_file

Name of a file in which the exported XML document is stored. You can specify a simple file name, a relative path, or a fully qualified path. When executing on multiple instances, the export command creates a separate file for each one and appends the host name and port number to the base name.

key

Encryption key for passwords in the XML description of identityPlugin, proxyLogin, and source objects. The key must be at least eight ASCII characters long and include at least one letter and one number. Multibyte characters are invalid. If you omit this option, you are prompted for the key.

Example

This example displays the XML for the rac alternative word.

SES>export altWord --KEYWORD=rac --ALT_KEYWORD="Real Application Clusters"
 
<?xml version="1.0" encoding="UTF-8"?>
<search:config productVersion="11.1.2.2.0" xmlns:search="http://xmlns.oracle.com/search">
   <search:altWords>
      <search:altWord>
         <search:keyword>rac</search:keyword>
         <search:altKeyword>Real Application Clusters</search:altKeyword>
         <search:autoExpand>false</search:autoExpand>
      </search:altWord>
   </search:altWords>
</search:config>

The next example creates a file named acme.xml containing the XML document for the acme skin bundle.

SES>export skinBundle --NAME=acme --OUTPUT_FILE=acme.xml
 
The object "[name=acme]" was successfully exported.
 
4 attachment(s) written to file.