hub backup model
Backs up a specific Data Hub model.
Use the hub backup model command to perform a full or incremental backup of a specified Data Hub model. The incremental method adds changes that were made to a model since a previous update. A backup is located in the default backup folder for Data Hub models unless a different location is specified with the path (--p) option.
Usage
hub backup model --m model --f fullBackup --p pathRequired | Argument | Description |
---|---|---|
Yes | --m model | Specifies the name of the model you want to backup. |
No | --f fullBackup | Performs a full or incremental backup of the model, where
fullBackup is one of the following:
|
No | --p path | Specifies the path and folder to which you want to save the backup. If you omit this option the backup is placed in the following folder: <Spectrum™ Technology Platform install path>\server\bin\HubBackup. |
Example
This example backs up a single model called CA_Fraud to a folder called HubModelBackup in the C:\DataHub directory. If a model by that same name already exists, the restored model will be updated.
hub backup model --m CA_Fraud --f false --p C:\DataHub\HubModelBackup