hub backup all
Backs up all Context Graph models.
Use the hub backup all command to perform a full or incremental backup of all Context Graph 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 Context Graph models unless you specify a different location.
Usage
hub backup all --f fullBackup --p pathRequired | Argument | Description |
---|---|---|
No | --f fullBackup | Performs a full or incremental backup of all models, where
fullBackup is one of the following:
|
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 default backup directory. Note: The default backup directory location (SpectrumFolder/server/modules/hub/db/backups) may be changed by uncommenting and editing the
hub.models.path.base setting in the SpectrumFolder/server/modules/hub/hub.properties file. |
Example
This example backs up all existing models to a folder called ContextGraphBackup on the local C drive.
hub backup all --f true --p C:\ContextGraphBackup