Show Table of Contents
2.4.6. Delete a Configuration Snapshot Using Management CLI
Prerequisites
Configuration snapshots are a point-in-time copy of the current server configuration. These copies can be saved and loaded by the administrator.
The following examples use the
standalone.xml file, but the same process applies to the domain.xml and host.xml files.
Procedure 2.9. Delete a Specific Snapshot
- Identify the snapshot to be deleted. This example will delete the following file from the snapshot directory.
EAP_HOME/standalone/configuration/standalone_xml_history/snapshot/20110630-165714239standalone.xml
- Run the
:delete-snapshotcommand to delete a specific snapshot, specifying the name of the snapshot as in the example below.[standalone@localhost:9999 /]
:delete-snapshot(name="20110630-165714239standalone.xml"){"outcome" => "success"}
Result
The snapshot has been deleted.
Procedure 2.10. Delete All Snapshots
- Run the
:delete-snapshot(name="all")command to delete all snapshots as in the example below.[standalone@localhost:9999 /]
:delete-snapshot(name="all"){"outcome" => "success"}
Result
All snapshots have been deleted.

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.