Download "user manual"

Transcript
save) are done for every other day of the week it is run. We choose to perform full daily
saves for all libraries and library objects because saving libraries is a fairly quick
process. It is also where most of the user data resides. We perform cumulative saves
for the various stream files because those files are fairly static and do not change
much. We choose a full and cumulative save as opposed to full and incremental save
for ease of restore.
– We save to a tape or virtual tape and show examples within the process where there is
a difference between the two. Note also that you can use various other media. We use
tape in our example because it makes for an easier demonstration process.
2. Schedule the backup job to run daily. Because it is a customized backup, it performs full
backup or only a cumulative changes backup, depending on the day of the week.
3. Run an online backup of WebSphere Portal Express V6.
Before you run through the examples in this section, you must download the following scripts.
See details about downloading these scripts in Appendix B, “Additional material” on
page 359. You must transfer the files to the i5/OS integrated file system directory,
/QIBM/ProdData/PortalExpress/V6/Tools:
򐂰 ExpressSave.sh: This script collects the private authorities of all objects (for QTMHHTTP
and QEJBSRV) before they are saved. It also runs the Save Security Data (SAVSECDTA)
CL command to collect the profile’s database administrator’s user profile to a save file. The
output files are saved with the backup and subsequently deleted.
򐂰 PreExpressRestore.sh: This script is only used as a cleanup script prior to a restore where
you want to restore all libraries and integrated file system objects.
򐂰 PostExpressRestore.sh: This script restores the private authorities of all integrated file
system objects (for QTMHHTTP and QEJBSRV) that were collected when the backup was
run. It also restores the user profile that owns the databases associated with the profile
being restored. The private authority of the user profile is also restored.
6.3.1 Creating a backup policy using the Backup Policy wizard
Before you create a backup policy, you need to know the exact data to be saved. See the
following list for the sample data to save. Also see 6.1, “Backup and recovery process” on
page 242.
For a profile called WP6XSERVER, following are the folders, their subfolders, and objects to
be saved:
򐂰 Profile data:
/QIBM/UserData/WebSphere/AppServer/V6/Base/profiles/WP6XSERVER
/QIBM/UserData/WebSphere/AppServer/V6/Base/profileRegistry/FSDB/WP6XSERVER
/QIBM/UserData/WebSphere/AppServer/V6/Base/profileRegistry/profileregistry.xml
Chapter 6. Online backup and recovery
247