This is the documentation for SuperSTAR 9.8

SuperSTAR 9.9 is now available.
View this page in the SuperSTAR 9.9 documentation or visit the SuperSTAR 9.9 documentation home.

Skip to end of metadata
Go to start of metadata

The following commands allow you to export the configuration settings to a text file and import from a text file. The exported settings are represented as a JSON object in the text file.

You might want to use these commands as an alternative to changing settings individually in SuperADMIN. For example, you can export the current configuration to a text file, make your changes, and then reimport the updated configuration.

You are also recommended to take regular backups of your configuration. See Backup Strategy - SuperSTAR for more information.

Export Configuration

DescriptionExport the current configuration settings to a text file containing a JSON object.
Usage

Export the entire configuration:

cfg save <filename>

Export the SuperWEB2 configuration settings:

cfg global superweb2 save <filename>

Export the configuration for a specific dataset:

cfg db <dataset_id> superweb2 save <filename>

The <filename> can contain any characters that are valid for the operating system you are using (including spaces). Do not use quotes even if the filename contains spaces.

You can either specify a full path to the filename, or a path relative to the SuperADMIN console directory (which will be C:\ProgramData\STR\SuperADMIN\console if you installed to the default location).

You must have permission to write to the specified directory, and any directories specified in the filename path must already exist.

Examples
cfg global superweb2 save E:\Config\SuperWEB2 Global Config.json
cfg db bank superweb2 save E:\Config\SuperWEB2 Retail Banking Config.json
cfg save E:\Config\Configuration.json

You can also export the configuration for a particular node (and its children). For example:

cfg global superweb2.valueSetLabels save E:\Config\SuperWEB2 Value Set Labels.json
cfg global superweb2.mapping.thematic save E:\Config\SuperWEB2 Mapping Configuration.json

Import Configuration

Description

Import configuration from a text file containing a JSON object.

Any configuration you import will completely replace the current configuration at that level. For example:

  • If you import the global configuration settings this will replace any existing configuration at the global level (but will not affect any dataset specific configuration).
  • If you import the entire configuration this will replace all current configuration settings.
Usage

Import the entire configuration:

cfg load <filename>

Import the SuperWEB2 configuration settings:

cfg global superweb2 load <filename>

Import the configuration for a specific dataset:

cfg db <dataset_id> superweb2 load <filename>

The <filename> can contain any characters that are valid for the operating system you are using (including spaces). Do not use quotes even if the filename contains spaces.

You can either specify a full path to the filename, or a path relative to the SuperADMIN console directory (which will be C:\ProgramData\STR\SuperADMIN\console if you installed to the default location).

When importing the entire configuration, the file must contain a JSON object with keys organised under global and db/<dataset_id>. You can export the current configuration to see an example of the required structure.

Examples
cfg global superweb2 load E:\Config\SuperWEB2 Global Config.json
cfg db bank superweb2 load E:\Config\SuperWEB2 Retail Banking Config.json
cfg load E:\Config\Configuration.json 

You can also import the configuration for a particular node (and its children). For example:

cfg global superweb2.valueSetLabels load E:\Config\SuperWEB2 Value Set Labels.json
cfg global superweb2.mapping.thematic load E:\Config\SuperWEB2 Mapping Configuration.json
  • No labels