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.


hub backup model --m model --f fullBackup --p path
Yes--m modelSpecifies the name of the model you want to backup.
No--f fullBackupPerforms a full or incremental backup of the model, where fullBackup 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 pathSpecifies 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.


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