Restore Command

The dicfg restore command restores settings in the DiveLine configuration in the specified DiveLine dataroot with settings from files in the specified source directory. Note however, that the restore of DiveLine_ACL.cfg does not behave the same way as the restore of DiveLine_Groups.cfg or DiveLine_Users.cfg. That is, when restoring a DiveLine_ACL.cfg file, existing ACL entries are not touched, but new ones are added. Usage of the restore command is described in the following table.

NOTE: You can specify a dataroot on the local machine or a remote DiveLine connection, but not both.

Sample restore command:

dicfg.exe -remote admin:admin@localhost:2130 restore c:\di\solution\dataroot\flatfiles

When invoking the restore command, any users or groups that do not exist in the input files are deleted from DiveLine.

For example, if an existing DiveLine installation has the following users:

  • Alice
  • Bob
  • Carol

And the input configuration only has:

  • Alice
  • Carol

Then, the restore operation will delete the user Bob.

The restore command will commit blank attribute column values.

For example, if the input contained:

User Email
Bob  

And the existing configuration had:

User Email
Bob [email protected]

Then the restore command would set Bob's email address to blank ("").

See also: