Save Command

The dicfg save command saves DiveLine configuration files from the specified DiveLine dataroot. Usage of the save command is described in the following table.

NOTE: Specify either a dataroot on the local machine or a remote DiveLine connection, but not both.

Sample save command:

dicfg -remote admin:admin@localhost:6403 save f:\di\solution64\dl-dataroot\flatfiles

This Save command creates three files in the specified directory:

  • DiveLine_ACL.cfg
  • DiveLine_Group.cfg
  • DiveLine_Users.cfg

Each file is tab delimited with column headings, as described in Flat Configuration File Format. Multiple values in a column are delimited by commas.

For both the save and merge commands, if you do not specify the -dataroot argument, dicfg checks the registry for which DiveLine dataroot to use.

On Windows, dicfg checks for the following registry value:

HKEY_LOCAL_MACHINE\SOFTWARE\DimensionalInsight\DI-DiveLine\dataroot

If this value does not exist in the registry, the fallback default dataroot value is:

C:\di\solution\dl-dataroot

On UNIX, if the dataroot argument is not provided, dicfg checks for the following OS environment variable:

DIDATA_DIR

For example, you may have specified:

export DIDATA_DIR=/di/solution/dl-dataroot

To see the value of this environment variable, type:

echo $DIDATA_DIR

If this environment variable is not present, the default Linux dataroot is:

/di/solution/dl-dataroot

See also: