WebSphere

 

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

 

Restoring the Deployment Manager profile on i5/OS

This topic provides instructions on restoring the Deployment Manager profile in a clustered environment on IBM® i5/OS using the rstNdDm.sh script. The instructions describe running the script manually from a QShell session.

To access a profile after it has been restored, you will need to know the WebSphere Portal Express password that was valid for that profile at the time it was saved. Do not revert to a saved profile unless you know the correct WebSphere Portal Express password to use. Follow these steps to restore the Deployment Manager profile 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 Deployment Manager profile:

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

    • the Deployment Manager profile to save (-p)

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

    Parameter names are case-sensitive.

    Parameter Description
    -help (-h)

    Displays help for the command

    -profileName (-p)

    Specify the Deployment Manager profile to save.

    -date (-d)

    The date of the profile data to restore. Required if using -m. This is in the systems date/time format. For example, 060105 for June 1st 2005 (if Month-Day-Year format being used on the system).

    Check QDATFMT system value if you are not sure of the proper format.

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

    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.

    -forceDown (-f)

    Force the Deployment Manager server down. If -f isn't used and server is active, the restore will fail.

    -userName (-u) User name for Administrator account. You must specific a user name and password to bring down the server if security is enabled.
    -password (-w) Password for user name specified. You must specific a user name and password to bring down the server if security is enabled.
    -seqNum (-q)

    The starting sequence number of the file set you want to restore. Normally you will not need this parameter, but if you saved multiple copies of the same profile on the same day on the same tape, you may need to distinguish which save set you want. This parameter is only valid with -m option and the media device must be a tape drive.

    -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