Export Metadata Script¶
To export the Data Catalog’s metadata you can use the export
script located
in the folder <DENODO_HOME>/tools/data-catalog
.
Usage
export -h <host> -p <port> -l <login> [ -P <password> ] [ -s <Virtual DataPort server name> ]
-f <output file>
[ -contentSearch ]
[ -personalization ]
[ -kerberos ]
[ -permission ]
[ -recommendations ]
[ -https ]
[ -mp <encryption password> ]
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 |
Output file |
-contentSearch |
Export the content search settings |
-personalization |
Export the personalization settings |
-kerberos |
Export the Kerberos settings |
-permission |
Export the permissions settings |
-recommendations |
Export the recommendations data |
-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>/bin/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
export -h localhost -p 9090 -l admin -P encrypted:xxxxxxx -f data_catalog_metadata.zip -contentSearch -personalization -mp encrypted:yyyyyyy