import_config
Imports a saved configuration.
Format
emcli import_config -input_file="ImportConfig.zip" -name="Host Saved Configuration" [-description="Imported Configuration"] [-ignore="Yes"] [ ] indicates that the parameter is optional.
Options
-
input_file
Input zip file with an absolute path that contains the target's saved configuration.
-
name
Name of the saved configuration. The value should be unique and not null.
-
description
Description of the imported target's saved configuration. The default value is "Imported Configuration". This option is not mandatory.
-
ignore
Specifies whether or not to ignore the configuration extension version mismatch. The value is Yes or No. The default value is No. This option is not mandatory.
Example
The following command imports the saved configuration specified in the file "ImportConfig.zip", saves with the name "Host Saved Configuration" and description "Imported Configuration", and ignores any configuration extension version mismatch:
emcli import_config -input_file="ImportConfig.zip" -name="Host Saved Configuration" -description="Imported Configuration" -ignore="Yes"
emcli import_saved_config -name="Edited Baseline Name" -input_file="../Baseline1.zip" -X
Note:
The-X
parameter ignores all the additional file attributes that are generated during the export. Failure to use -X
will generate an error while uploading an edited configuration file.