Restoring server configuration to a WAS
The Server Configuration Restore wizard applies the server configuration that is defined in the configuration archive file (.car) to the server profile associated to the selected server in the Servers view. The profile's original port numbers, host name and WebSphere® Application Server installation directory are preserved. However, all other server configuration settings on your current profile are merged with the server configuration that is defined in the selected configuration archive file, in a manner that maintains the differences. If you are familiar with the WebSphere administrative scripting (wsadmin) commands, this wizard performs the same functionality as the wsadmin method importWasprofile in the AdminTask object.
Prerequisite
Restriction
- The WAS must be stopped before performing this task.
- Import a configuration archive (.car) to your current workspace.
- The Server Configuration Restore option is supported for the WAS. However, backing up and restoring the server configuration must be at the same version-level of the server. For example, if you backed up a server configuration from WAS V6.0, you must restore the server configuration into a WAS V6.0. The server is going to fail to start if you attempt to restore the server configuration into a WAS V6.1.
- The Server Configuration Backup and Server Configuration Restore options are not the correct way to migrate, for example, an existing WAS V6.0 profile into a V6.1 profile. Instead, the Migration wizard from the WAS V6.1 should be used. For details, see Migrating server configuration files from WAS V6.0.x to V6.1.x topic.
To restore a server configuration to a WAS:
- In the Servers view, right-click the server you want to apply the server configuration that is defined in the configuration archive file.
- Select
Server configuration | Restore. The Server Configuration Restore wizard opens.
- In the
Parent folder, specify the directory where the configuration archive is located on your current workspace.
- In the
File name field, specify the name of the selected server configuration file. The file extension should be .car.
- Click OK.
Results:
As previously mentioned, the server configuration on the server is merged with the server configuration that is defined in the configuration archive file, in a manner that maintains the differences.