Export KCM instance configuration
ExportInstanceConfiguration.exe is a command-line tool designed to export a single KCM instance configuration into a .zip file. This configuration can be later imported to another KCM instance.
This tool does not support KCM
5.2, 5.3, and 5.4.The tool can perform configuration export with or without infrastructure.
- If exported without infrastructure, configuration contains the following items:
- The dp.ini, dm.ini and itp.cfg configuration files of KCM Core.
- The itprep.ini and pwdblacklist.txt configuration files of KCM Repository.
- The itpmdkapi.ini configuration file of KCM RestAPI.
- The log configuration of the KCM Designer.
- The log configuration of the KCM Composer.
- The custom KCM Core scripts.
- The contents of the Did, Watermarks and Resources subfolders of the KCM Core work folder.
- If exported with infrastructure, configuration contains the items above and also the registration information (partner, customer, an so on) of the source KCM instance.
Before you start
- Make sure the account used to run ExportInstanceConfiguration.exe is included in the local Administrators group on the target server.
- Check your KCM version. ExportInstanceConfiguration tool supports the KCM product starting from version 5.2.0.
Parameters
To view the list of parameters for ExportInstanceConfiguration.exe, run it without any parameters.
Parameter |
Required / Optional | Description |
---|---|---|
KCM!Version |
Required if KCM installation is not active |
The KCM version to export from. Enter version number in the format Major.Minor Example: KCM!Version=5.5 If omitted, defaults to the currently active KCM installation. |
Instance!Number |
Required for on-premise installation |
The number of the KCM instance to export from. On Docker, this defaults to 1.
|
Instance!ExportConfigurationFile |
Required | The file to write the configuration export to. |
Instance!ExportInfrastructure |
Required |
Boolean flag that specifies whether the configuration is exported with or without infrastructure settings.
When exporting from
KCM versions earlier than 5.5, it is not possible to add infrastructure to the export. In these cases, the
Instance!ExportInfrastructure parameter will not be available.
|
Notes on usage
To create an export from an older KCM version, use the following procedure:
- Open the
Software\KCMTools folder of the KCM
5.8.0 installation package and locate the following files:
- ExportInstanceConfiguration.exe
- ExportIsntanceConfiguration.exe.config
- Nlog.config
- All .dll files.
- Copy these files to the server on which the old KCM version is installed. All files must be placed in the same folder.
- From that folder, run ExportInstanceConfiguration.exe. If creating an export from an older KCM version, some configuration items may not be compatible with newer versions. Such items will be removed from the export. The result is a partial export, which can still be imported, although missing these items.