hub backup model

Use the hub backup model command to back up a specific Data Hub model.


hub backup model --m ModelName --f TrueOrFalse --p Path
Required Argument Description
Yes --m ModelName Specifies the name of the model you want to backup.
No --f TrueOrFalse Performs a full or incremental backup of the model, where TrueOrFalse is one of the following:
Performs a full, initial backup of the model. This is the default setting.
Performs an incremental backup of the model to an existing backup.
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: SpectrumLocation\server\bin\HubBackup.


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