WebSphere

 

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

 

Backing up remote database schemas on i5/OS

This topic provides instructions on backing up remote Workplace database schemas on IBM® i5/OS using the savWpRmtDb.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.

Before performing this task, you should have backed up your Workplace profile. For more information, see Backing up a profile on i5/OS. Follow these steps to back up remote database schemas on i5/OS:

  1. If IBM WebSphere Portal Express is not installed on the system containing the remote schemas, copy the file /QIBM/ProdData/PortalExpress/V6/Tools/savWpRmtDb.sh from a system where WebSphere Portal Express is installed to a location in the Integrated File System (IFS) of the system where the remote database schemas are located.

  2. Stop the profile associated with the remote database schemas you are backing up.

  3. Start the QShell Interpreter on the system containing the remote database schemas by entering the following on an i5/OS command line:

    STRQSH

  4. Change to the directory containing the savRmtDb.sh file. If WebSphere Portal Express is not installed on the system, change to the directory where you copied the savRmtDb.sh file. If WebSphere Portal Express is installed on the system, change to the Workplace tools directory by entering the following:

    cd /QIBM/ProdData/PortalExpress/V6/Tools

  5. Enter the following command to back up the remote database schemas:

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

    • a list of schemas (-t)

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

    Parameter names are case-sensitive.

    Parameter Description
    -help (-h)

    Displays help for the command

    -schemaList (-t)

    Specifies a list of schemas to save. Schemas listed must be separated by commas, with no spaces in between.

    -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.

    -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