Export
Exports objects from the ILM Test Data Manager to an XML file.
When you export an object from the ILM repository, you specify the object type and the location of the object in the repository. You can export the following object types:
- •Masking rule
- •Generation rule
- •Policy
- •Data domain
- •Entity
- •Group
- •Template
- •Profile
- •Project
- •Data source
- •Source definition
- •Connections
- •Plan
The ilmcmd export command uses the following syntax:
ilmcmd
<-Export | -e>
<-ObjectType | -ot> object_type
<-Name | -n> object_name
<-Project> project_name
<-File | -f> XML_file_location
<-DataSourceName | -dsn> schema_name
[-Help | -h]
The following table describes the ilmcmd export options and arguments:
Option | Argument | Description |
---|
-ObjectType -ot | object_type | Required. The type of object to export. For example, you can enter "Group" or "RuleAssignment." If the object type contains a space in it, remove the space when you enter the argument. |
-Name -n | object_name | Required. The name of the object you want to export. |
-Project -p | project_name | Required to export a plan, entity, group, or template. The name of the project that contains the plan or port assignment to export. |
-File -f | XML_file_location | Required. The path and file name of the XML file to which you export the object. |
-DataSourceName -dsn | schema_name | Required to export a port assignment. The name of the schema that contains the port assignment to export. |
-Help -h | n/a | Optional. Displays help for the command. |
Export Examples
Exporting a Policy
The following sample command exports the Policy_Customer policy to the Policy_Customer.xml file:
ilmcmd -e -ot Policy -n Policy_Customer -f C:\Informatica\ILMServer\CLI\Policy_Customer.xml
Exporting a Masking Rule
The following sample command exports the Credit_Card_Mask rule to the CCR.xml file:
ilmcmd -e -ot MaskingRule -n Credit_Card_Mask -f /home/infa1/Desktop/CCR.xml
Exporting a Generation Rule
The following sample command exports the SIN_RandomNumeric rule to the SINRN.xml file:
ilmcmd -e -ot GenerationRule -n SIN_RandomNumeric -f E:\rules\SINRN.xml
Exporting a Project
The following sample command exports the CustRecord_Data project to the CustRecord.xml file:
ilmcmd -e -ot Project -n CustRecord_Data -f E:\project\CustRecord.xml