Import Metadata Script

To import the Data Catalog’s metadata you can use the import script located in the folder <DENODO_HOME>/tools/data-catalog.


Usage

import -h <host> -p <port> -l <login> [ -P <password> ] [ -s <Virtual DataPort server name> ]
       -f <input file>
       [ -override ]
       [ -https ]
       [ -mp <encryption password> ]
Parameters of the import script

Parameter Name

Description

?

Shows the help.

-h

Hostname or IP address of the Data Catalog

-p

Port of the Data Catalog. By default it is 9090

-l

Login to connect to the Data Catalog

-P

Password to connect to the Data Catalog

-s

Name of the Virtual DataPort server used for authentication. You have to specify this if there is more than one server registered in the Data Catalog. Otherwise, it is optional.

-f

Input file

-override

Add this to override the Data Catalog metadata and configuration parameters.

-https

Option to connect with a SSL/TLS channel

-mp, --metadata-password

Custom password used for sensitive data encryption

You can encrypt both passwords using the script <DENODO_HOME>/tools/data-catalog/encrypt_password. That way you can avoid entering them in plain text. If the password is encrypted, prefix it with encrypted:. E.g. -P encrypted:xd7o6/xZuNwWvg1YGNuz9g==.


Example

import -h localhost -p 9090 -l jsmith -P encrypted:xxxxxxx -f data_catalog_metadata.zip -override -mp encrypted:yyyyyyy