export_latest_config

引数output_fileとして指定された名前のファイルに最新の構成をエクスポートします。

書式

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

オプション

  • target_type

    構成が保存されているターゲット・タイプ。デフォルトは内部名です。

  • target_name

    ターゲット名。

  • export_members

    ターゲット・メンバーをエクスポートします。

    • True

    • False

    デフォルトはfalseです。

  • output_file

    絶対パスを使用した出力zipファイル。

次の例では、test_hostという名前のホスト・ファイルに対する最新の構成をファイルExportConfig.zipにエクスポートします。ターゲット・メンバーはエクスポートされません。

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