Restoring the Deployment Manager profile

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

To access a profile after it has been restored, know the WebSphere Portal 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 password to use. Follow these steps to restore the Deployment Manager profile on i5/OS:

  1. Find the WebSphere Portal password that was valid for the profile at the time it was saved. Do not revert to a saved profile unless you know the correct password to use.

  2. Type STRQSH on the command line to start the QShell Interpreter.

  3. Change to the /QIBM/ProdData/PortalExpress/V61/Tools directory.

  4. Enter the restoreNdDm parameters command to back up the Deployment Manager profile: Use the following parameters listed in the table with the above task; the following parameters are required:

    -profileName (-p)

    Name of the Deployment Manager profile to restore

    -mediaDevice (-m) and -date (-d) or -saveFileLib (-s)

    Specifies the media device where the profile is save and the date the profile was saved or the library where the saved profile is stored

    The library name must be 10 characters are less.

    -forceDown (-f)

    Stops the servers associated with the profile

    If you do not enter this parameter, manually stop the servers before running this task.

    Parameter names are case-sensitive.


    Table 1. Optional parameters for use with the script restoreNdDm

    Parameter Description
    -help (-h)

    Displays help for the command.

    -logDir (-l)

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

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

    Specifies 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

restoreNdDm -profileName wp01 -mediaDevice tap01 -date 060105

This example restores profile wp01 saved on media device tap01 on June 1, 2005.

restoreNdDm -v -p wp01 -m tap01 -d 060105

This example is the same as the previous example, except the parameter short names are used and the -v parameter is specified to verify what the command will do before running it.


Parent topic:

Backing up and restoring profiles


Related tasks


Prepare the WAS Deployment Manager on i5/OS