hub schema export

Exports a model.

Use the hub schema export command to export a Data Hub model, its metadata, its monitors, and its queries. If you do not specify a path to where you would like the model exported, the system export the model to the current working directory using the name you specify.

Usage

hub schema export --m model --f file --cm copymonitors --cq copyqueries
RequiredArgumentDescription
Yes--m modelSpecifies the name of the model you want to export.
Yes--p path(Deprecated) Specifies the path where you want to save the export folder. This path is relative to where you have installed the Spectrum™ Technology Platform server.
No--f fileSpecifies the path where you want to save the export folder. This path is relative to where you have installed the Spectrum™ Technology Platform Administration Utility.
No--cm copymonitorsSpecifies whether to export any existing monitors, where copymonitors is one of the following:
true
Exports monitors. This is the default setting.
false
Does not export monitors.
No--cq copyqueriesSpecifies whether to export any saved queries, where copyqueries 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 --f C:\HubModels --cm false --cq true