2.4.3. Start the Server with a Previous Configuration
The following example shows how to start the application server with a previous configuration in a standalone server with
standalone.xml
. The same concept applies to a managed domain with domain.xml
and host.xml
respectively.
This example recalls a previous configuration saved automatically by the application server as management operations modify the server model.
- Identify the backed up version that you want to start. This example will recall the instance of the server model prior to the first modification after successfully booting up.
EAP_HOME/configuration/standalone_xml_history/current/standalone.v1.xml
- Start the server with this configuration of the backed up model by passing in the relative filename under
jboss.server.config.dir
.EAP_HOME/bin/standalone.sh --server-config=standalone_xml_history/current/standalone.v1.xml
Result
The application server starts with the selected configuration.