hub backup all

Backs up all Data Hub models.

Use the hub backup all command to perform a full or incremental backup of all Data Hub models. An incremental backup adds changes that were made to a model since a previous backup. A model is added to the default backup directory for Data Hub models unless you specify a different location.

Usage

hub backup all --f fullBackup --p path
Required Argument Description
No --f fullBackup Performs a full or incremental backup of all models, where fullBackup is one of the following:
true
Performs a full backup of all models. Full backups replace any existing backups of the models. This is the default setting.
false
Performs an incremental backup of all models to an existing backup.
No --p path Specifies the path and folder to which you want to save the backups. If you omit this option the backups are placed in the following folder: <Spectrum™ Technology Platform install path>\server\modules\hub\db\backups

Example

This example backs up all existing models to a folder called HubBackup on the local C drive.

hub backup all --f true --p C:\HubBackup