Show Table of Contents
2.4.8. 管理 CLI を使用した設定スナップショットの削除
前提条件
設定スナップショットは、現在のサーバー設定のポイントインタイムコピーです。これらのコピーは、管理者が保存およびロードできます。
次の例では
standalone.xml ファイルを使用しますが、同じプロセスが domain.xml および host.xml ファイルにも適用されます。
手順2.16 特定のスナップショットの削除
- ロードするスナップショットを指定します。この例では、スナップショットディレクトリーから以下のファイルが削除されます。
EAP_HOME/standalone/configuration/standalone_xml_history/snapshot/20110630-165714239standalone.xml
:delete-snapshotコマンドを実行して、特定のスナップショットを削除します。以下の例のようにスナップショットの名前を指定します。[standalone@localhost:9999 /]
:delete-snapshot(name="20110630-165714239standalone.xml"){"outcome" => "success"}
結果
スナップショットが削除されます。
手順2.17 スナップショットすべてを削除
:delete-snapshot(name="all")コマンドを以下の例のとおりに実行し、スナップショットをすべて削除します。[standalone@localhost:9999 /]
:delete-snapshot(name="all"){"outcome" => "success"}
結果
スナップショットがすべて削除されます。

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.