hub schema export

Use the hub schema export command to export a Data Hub model, its metadata, its monitors, and its queries.

Usage

hub schema export --m ModelName --p Path --cm TrueOrFalse --cq TrueOrFalse
Required Argument Description
Yes --m ModelName Specifies the name of the model you want to export.
Yes --p Path Specifies the path where you want to save the export folder.
No --cm TrueOrFalse Specifies whether to export any existing monitors, where TrueOrFalse is one of the following:
true
Exports monitors. This is the default setting.
false
Does not export monitors.
No --cq TrueOrFalse Specifies whether to export any saved queries, where TrueOrFalse is one of the following:
true
Exports queries. This is the default setting.
false
Does not export queries.

Example

This example exports the schema for a model called Fraud_2015 to the HubModels directory on the C drive. It does not export any monitors but does export any queries associated with the model.

hub schema export --m Fraud_2015 --p C:\HubModels --cm false --cq true