WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Backing up the HTTP server on i5/OS

This topic provides instructions on backing up instance data for HTTP servers associated with a profile on IBM® i5/OS using the savHttpInstance.sh script. The instructions describe running the script manually from a QShell session. You can also schedule the script to run periodically as part of a comprehensive backup and recovery strategy.

Follow these steps to back up HTTP instance data on i5/OS:

  1. Start the QShell Interpreter by entering the following on an i5/OS command line:

    STRQSH

  2. Change to the tools directory by entering the following:

    cd /QIBM/ProdData/PortalExpress/V6/Tools

  3. Enter the following command to back up the HTTP data associated with a particular profile:

    savHttpInstance.sh parameters
    The command takes the following parameters as listed in the table, with these being required:

    • the profile whose HTTP instance data you want to save (-p)

    • either a media device (-m) or save file library (-s)

    • the -forceDown (-f) parameter must be specified if any servers associated with the HTTP instance are running

    Parameter names are case-sensitive.

    Parameter Description
    -help (-h)

    Displays help for the command

    -profileName (-p)

    Specify the profile whose HTTP instance data you want to save.

    -mediaDevice (-m)

    Specifies a media device to save to

    -saveFileLib (-s)

    Specifies a library where save files are created to save the data. The library name must be 10 characters or less.

    -logDir (-l)

    Where to save log files for this command. If a log directory is not specified using this parameter, logs are created by default in /savRstWp60/profile/logs, where profile is the name of the profile whose data is being saved.

    If you specify a path using this parameter, the command will create only the last directory in the path. The other directories in the path must already exist. For example, if you specify -l /wcs01/logs, the /wcs01 directory must already exist.

    -cancelRestart (-c)

    Cancel restart of servers. By default, all the servers will be restarted.

    -forceDown (-f)

    Force all servers associated with the instance to shut down. If -f isn't used and servers are active, the backup will fail.

    -nd

    Indicates that the profile is a Network Deployment profile.

    -verify (-v)

    Verifies the command. If this parameter is used, the command outputs what would be done according to the parameters being used, without actually performing the backup.

 

Examples:

 

Parent topic:

Backup and restore on i5/OS