Table of Contents

Search

  1. About the Enterprise Data Preparation Administrator Guide
  2. Introduction to Enterprise Data Preparation Administration
  3. Getting Started
  4. Administration Process
  5. User Account Setup
  6. Search Configuration
  7. Roles, Privileges, and Profiles
  8. Data Asset Access and Publication Management
  9. Masking Sensitive Data
  10. Monitoring Enterprise Data Preparation
  11. Backing Up and Restoring Enterprise Data Preparation
  12. Managing the Data Lakehouse
  13. Schedule Export, Import and Publish Activities
  14. Interactive Data Preparation Service
  15. Enterprise Data Preparation Service

Enterprise Data Preparation Administrator Guide

Enterprise Data Preparation Administrator Guide

Step 7. Restore the Rules Metadata

Step 7. Restore the Rules Metadata

If rules are configured for the
Interactive Data Preparation Service
, restore the rules metadata to the Model repository used by the
Interactive Data Preparation Service
.
Use the infacmd tools ImportObjects command to import the rules metadata, the dictionary content, and the NER and Classifier model files into a project in the Model repository associated with the
Interactive Data Preparation Service
.
The Model Repository Service that manages the Model repository used by the
Interactive Data Preparation Service
must be running when you run the command.
For more information about using the infacmd tools ImportObjects command, see the
Informatica Command Reference
.
Run the following command:
infacmd tools ImportObjects -dn <domain name> -un <user name> -pd <password> -sdn <security domain> -tn <target project name> -rs <Model Repository Service name> -fp <import file> -sp <source project name> -tf <target folder name> -oo <options>
The following table describes the infacmd tools ImportObjects options and arguments:
Option
Argument
Description
-DomainName
-dn
domain_name
Name of the Informatica domain.
-UserName
-un
user_name
User name to connect to the domain. Optional if the domain uses Kerberos authentication.
-Password
-pd
password
Password for the user name.
-SecurityDomain
-sdn
security_domain
Required if the domain uses LDAP authentication. Optional if the domain uses native authentication or Kerberos authentication. Name of the security domain to which the domain user belongs.
If the domain uses native or LDAP authentication, the default is Native. If the domain uses Kerberos authentication, the default is the LDAP security domain created during installation.
-TargetProject
-tp
target_project
Name of the project in the Model repository into which you want to import the objects. The project must exist in the Model repository before you import the objects. The option is ignored if you use an import control file.
-RepositoryService
- rs
service_name
Model Repository Service name.
-ImportFilePath
-fp
file_path
Path and file name of the XML file from which to import the rules metadata. You can specify an absolute path or a relative path to the file name.
-SourceProject
-sp
project_name
Source project name in the file to import.
-TargetFolder
-tf
folder_name
Target folder within the project into which you want to import the rules objects. If you do not specify a target folder, the objects are imported into the target project. The folder must exist in the repository before you import the objects.
-OtherOptions
-oo
options
Additional options to import the dictionary content and the NER and Classifier model files from the specified zip file. Enter options using the following format:
rtm:<option_name>=<value>,<option_name>=<value>
Required option names include:
  • codePage. Code page of the reference data.
  • refDataFile. Path and file name of the zip file from where you want to import the reference table data.
The following example imports rules metadata from a dq_rules_metadata.xml file into a folder named dq_rules within a project named NEW_PROJECT. The example also imports the dictionary content and the NER and Classifier models from a dq_rules_artifacts.zip file into the project.
infacmd tools importObjects -dn InfaDomain -un Administrator -pd password -sdn native -rs MRS_dev3 -tp NEW_PROJECT -tf dq_rules -fp "/export/dq_rules_metadata.xml" -ow true -oo "rtm:codePage=UTF-8,refDataFile="/output/dq_rules_artifacts.zip""