2.10.6. List All Configuration Snapshots Using Management CLI
Prerequisites
Snapshots are a point-in-time copy of the current server instance. These copies can be saved and loaded by the administrator.
The following example uses the
standalone.xml
instance, but the same process applies to the domain.xml
and host.xml
models.
Procedure 2.9. Task
List all snapshots
List all of the saved snapshots by running the:list-snapshots
command.[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" ] } }
Result
The snapshots are listed.