Back up the application server configuration

To back up the configuration of your application server, run the backupConfig script in Qshell. The backupConfig script backs up the configuration of your application server to a ZIP file. By default, the application server stops before the backup is made so that partially synchronized information is not saved. For information on running Qshell scripts, see Configure Qshell to run WebSphere Application Server - Express scripts.

Note: The backupConfig script only backs up information for a single instance of WebSphere Application Server - Express. For a more complete backup configuration, it is recommended that you follow the procedures described in Backup and recovery considerations for WebSphere Application Server - Express.

Authority

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

Usage

To run the script, follow these steps:

  1. On an CL command line, enter the Start Qshell (STRQSH) command.

  2. Run the cd command to change to the directory that contains the script:

    cd /QIBM/ProdData/WebASE/ASE5/bin
  3. Run the backupConfig script:

    backupConfig -instance instance

    where instance is the name of your application server instance.

Syntax

The syntax of the backupConfig script is:

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

Parameters

The parameters of the backupConfig script are:

Example

backupConfig -instance devinst /QIBM/UserData/WebASE/ASE5/devinst/devConfig.zip

This example backs up the configuration for the devinst instance. The script creates a backup configuration file called devConfig.zip in the /QIBM/UserData/WebASE/ASE5/devinst directory.