Red Hat Training
A Red Hat training course is available for Red Hat JBoss Enterprise Application Platform
2.4.11. 管理 CLI を使用したすべての設定スナップショットのリスト
前提条件
設定スナップショットは、現在のサーバー設定の特定の時点のコピーです。これらのコピーは管理者が保存およびロードできます。
以下の例は
standalone.xml
ファイルを使用しますが、同じプロセスが domain.xml
および host.xml
ファイルに適用されます。
手順2.20 すべての設定スナップショットのリスト
すべてのスナップショットのリスト
:list-snapshots コマンドを実行して、保存されたすべてのスナップショットを一覧表示します。[standalone@localhost:9999 /] :list-snapshots { "outcome" => "success", "result" => { "directory" => "/home/hostname/EAP_HOME/standalone/configuration/standalone_xml_history/snapshot", "names" => [ "20110818-133719699standalone.xml", "20110809-141225039standalone.xml", "20110802-152010683standalone.xml", "20110808-161118457standalone.xml", "20110912-151949212standalone.xml", "20110804-162951670standalone.xml" ] } }
結果
スナップショットがリストされます。