Portal, Express Beta Version 6.1 Operating systems: i5/OS, Linux,Windows
Restoring the HTTP instance
This topic provides instructions on restoring HTTP instance data
associated with a specific profile on IBM® i5/OS using
the rstHttpInstance.sh script.
Perform the following steps to restore HTTP instance data:
Type STRQSH on the command line to start
the QShell Interpreter.
Change to the /QIBM/ProdData/PortalExpress/V61/Tools/sh_utils directory.
Enter the rstHttpInstance.sh parameters command
to restore the HTTP instance data:
Use the following parameters
listed in the table with the above task; the following parameters are required:
-profileName (-p)
Specifies the name of the profile whose HTTP instance data you want to
restore
-mediaDevice (-m) and -date (-d) or -saveFileLib
(-s)
Specifies the media device where the profile is save, the date the profile
was saved, or the library where the saved profile is stored
Note: The library
name must be 10 characters are less.
-forceDown (-f)
Stops the servers associated with the profile; for example WebSphere_Portal
and the HTTP server
Note: If you do not enter this parameter, you must manually
stop the servers before running this task.
Note: Parameter names are case-sensitive.
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.
Note: 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.
-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 instance 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.
In this example, HTTP servers associated with profile wp01 and
saved media device tap01 on June 1, 2005 are restored.
rstHttpInstance.sh -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.