Show Table of Contents
2.4.9. 使用管理 CLI 列出所有的配置快照
必须具备的条件
配置快照是当前服务器配置的时间点拷贝。管理员可以保存和加载这些拷贝。
下面的例子使用了
standalone.xml 配置文件,但相同的过程适用于 domain.xml 和 host.xml 配置文件。
过程 2.18. 列出所有的配置快照
列出所有快照
用: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" ] } }
结果
快照被列出。

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.