< Day Day Up > |
BACKUP SYSTEM
BACKUP SYSTEM is ideal for backing up all of the data for a single application, such as SAP R/3 or PeopleSoft. CAUTION In a data-sharing environment, if there are any failed or abnormally quiesced members , the BACKUP SYSTEM request fails. When BACKUP SYSTEM is run, a copy version is created. A copy version is a point-in-time copy of the data maintained by DFSMShsm . Each DB2 system has an associated set of copy pools, one for the databases and another for the logs. Up to 15 copy versions can be maintained. The utility copies the volumes that are associated with the copy pool backup storage group. You can add new volumes to the storage group without having to redefine the copy pool. Before running the BACKUP SYSTEM utility you must decide if you want a full or data only copy to be made. The default is FULL , which causes the utility to copy both the database copy pool and the log copy pool. Alternatively, you can specify DATA ONLY . This indicates that BACKUP SYSTEM will copy only the database copy pool (and not the log copy pool). The BACKUP SYSTEM history is recorded in the BSDSs. To execute BACKUP SYSTEM , the process or user running the utility must have either SYSADM or SYSCTRL authority. BACKUP SYSTEM PhasesThe BACKUP SYSTEM utility has three phases:
BACKUP SYSTEM ConcurrencyThe BACKUP SYSTEM utility can run concurrently with any other DB2 utility. But only one BACKUP SYSTEM job can be running at any one time. Keep in mind, too, that the BACKUP SYSTEM utility will wait until the following activities complete before it begins to execute:
BACKUP SYSTEM GuidelinesBefore running BACKUP SYSTEM , be sure to verify the following:
RESTORE SYSTEM
Although DFSMShsm can maintain multiple backup versions of copy pools, you cannot specify a particular backup version to be used by the RESTORE SYSTEM utility. RESTORE SYSTEM always uses the latest version before the log truncation point. NOTE You can specify the log truncation point with the CRESTART SYSPITR option of the DSNJU003 utility. Refer to Chapter 35, "Stand-alone Utilities and Sample Programs," for more information about DSNJU003 . To execute RESTORE SYSTEM , the process or user running the utility must have SYSADM authority. RESTORE SYSTEM PhasesThe RESTORE SYSTEM utility has four phases:
RESTORE SYSTEM Concurrency ConsiderationsNo other utilities can run when RESTORE SYSTEM is running. RESTORE SYSTEM GuidelinesBefore running RESTORE SYSTEM , perform the following tasks :
After running the RESTORE SYSTEM utility job, be sure to take the following steps:
|
< Day Day Up > |