![]() Operating systems: i5/OS, Linux,Windows |
If you created a backup of your profile and something happens to your system, you can restore the profile on IBM® i5/OS.
Important: To restore the profile, have a user profile with the following authorities:Option | Description |
---|---|
Base profile, including profiles federated into a cluster | rstWpProfile.sh parameters |
Network Deployment profile | rstNdProfile.sh parameters |
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 /QIBM/UserData/WebSphere/AppServer/V61/Base/profiles/profile/PortalExpress/log, where profile is the name of the profile 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. |
-noHttp (-n) |
Do not restore external HTTP data |
-noSaftyNet (-x) |
Do not duplicate existing schema data. By default, the command duplicates existing schema data before deleting it. This protects against the case where the user enters the wrong profile name and the wrong profile is restored. Only use this parameter if you wish to prevent this duplication from happening. |
-propFilePath (-r) | Specifies a path to the savRstWp.properties file to use for parameter input to this command. To use this parameter, first copy the file /QIBM/ProdData/PortalExpress/V61/Tools/sh_utils/savRstWp.properties to a new location in the Integrated File System (IFS) of the system on which you are restoring the profile, and then edit it to include the parameters you want to use. Note that save the file with the name savRstWp.properties. |
-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 restore. |