export_latest_config

Exports the latest configuration to a file with name provided as an argument "output_file".

Format

emcli export_latest_config
      -target_type="host"
      -target_name="test_host"
      [-export_members="true"]
      [-output_file="ExportConfig.zip"]

Options

  • target_type

    Target type where the configuration is saved. Default is internal name.

  • target_name

    Target name.

  • export_members

    Exports the target members.

    • True

    • False

    Default is false.

  • output_file

    Output zip file with an absolute path.

Example

The following example exports the latest configuration to a host file named "test_host" to the file "ExportConfig.zip". The target members are not exported.

emcli export_latest_config       -target_type="host"
      -target_name="test_host"
      -export_members="false"
      -output_file="ExportConfig.zip"