2.4.5. Load a Configuration Snapshot
Configuration snapshots are a point-in-time copy of the current server configuration. These copies can be saved and loaded by the administrator. The process of loading snapshots is similar to the method used to Section 2.4.3, “Start the Server with a Previous Configuration”, running from the command line rather than the Management CLI interface used to create, list and delete snapshots.
The following example uses the
standalone.xmlfile, but the same process applies to the
Procedure 2.8. Load a Configuration Snapshot
- Identify the snapshot to be loaded. This example will recall the following file from the snapshot directory. The default path for the snapshot files is as follows.
EAP_HOME/standalone/configuration/standalone_xml_history/snapshot/20110812-191301472standalone.xmlThe snapshots are expressed by their relative paths, by which the above example can be written as follows.
- Start the server with the selected configuration snapshot by passing in the filename.
The server restarts with the configuration selected in the loaded snapshot.