Skip to content

Importing and Exporting Configuration

Because the configuration is stored directly in the cluster after the first interaction, all subsequent subcommands use the stored parameters and require only the instance ID. However, this configuration is assigned to the cluster currently in use. To move an existing configuration to another cluster, it is possible to export the configuration to a file and import it later.

Use this command to export a configuration:

ieprovision export-config [-n NAMESPACE] INSTANCE-ID FILENAME

This command exports the configuration stored in NAMESPACE of the entered INSTANCE-ID into the FILENAME file in JSON format.

Note:
This file includes the complete credentials for the instance.

Instead of using the instance ID or the onboarding file, the exported file can then be used for any command. To install from this file, use this command:

ieprovision import-config FILENAME [-n NAMESPACE]

This recreates the configuration with all credentials and activation data under the original instance ID in NAMESPACE and can be used for a subsequent installation. If no namespace is specified, it defaults to iem.