hub backup all

Use the hub backup all command to back up all Data Hub models.

Usage

hub backup all --f TrueOrFalse --p Path
Required Argument Description
No --f TrueOrFalse Performs a full or incremental backup of all models, where TrueOrFalse is one of the following:
true
Performs a full, initial backup of all 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: SpectrumLocation\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