The restoreConfig script

The restoreConfig script restores the configuration of a node. To run this script, have a backup copy of the configuration. By default, all servers on the node stop before the configuration restores so that a node syncronization does not occur during the restoration. If the configuration directory already exists, the script renames it before restoring the configuration.

Note: The restoreConfig script only restores information for a single instance of WebSphere Application Server. For a more complete restoration of your configuration, it is recommended that you follow the procedures described in Save and restore considerations for WebSphere Application Server.

Product

The restoreConfig script is available in WebSphere Application Server and WebSphere Application Server Network Deployment.

Authority

To run this script, your user profile must have *ALLOBJ authority.

Syntax

The syntax of the restoreConfig script is:

restoreConfig backup_file [ -instance instance ] [ -nostop ]
 [ -quiet ] [ -logfile filename ] [ -replacelog ] [ -trace ] 
 [ -username username ] [ -password password ] [ -help | -? ]

Parameters

The parameters of the restoreConfig script are:

Examples

These examples demonstrate correct syntax:

restoreConfig /QIBM/UserData/WebAS5/Base/default/myConfig.zip

This example restores the configuration for the default instance. The script uses the configuration file called myConfig.zip in the /QIBM/UserData/WebAS5/Base/default directory.

backupConfig /QIBM/UserData/WebAS5/Base/devinst/devConfig.zip -instance devinst

This example restores the configuration for the devinst instance. The script uses the configuration file called devConfig.zip in the /QIBM/UserData/WebAS5/Base/devinst directory.