Nonstop Database, HiRDB Version 9 Command Reference

[Contents][Index][Back][Next]

18.3.2 Backing up in units of RDAREAs

This example backs up two user RDAREAs (RDAREA01 and RDAREA02):

 
pdcopy -m /hirdb/rdarea/mast/mast01 -M r -p /usr/hirdb/pdcopy/list/list01
-b /usr/hirdb/pdcopy/backup/backup01 -r RDAREA01,RDAREA02
 

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-M: Specifies the backup acquisition mode.
-p: Specifies the output file name for the database copy utility process results listing.
-b: Specifies the name of the backup file.
-r: Specifies the name of the RDAREAs to be backed up (RDAREA01 and RDAREA02).

When data is to be copied in units of RDAREAs, the utility performs an internal check to determine whether all related RDAREAs are specified (the pdrdrefls command is executed). If any related RDAREA is not specified, the KFPR26089-W message is issued and the pdrdrefls command's message is output to the database copy utility's process results output file as the processing results. To determine which RDAREAs are missing, check the KFPT02028-W message in the process results output file. You can ignore the KFPT02004-W message. The following describes the RDAREAs and the conditions that are checked.

RDAREAs that are checked:
  • Table storage RDAREAs and index storage RDAREAs
  • Table storage RDAREAs and LOB column storage RDAREAs
  • RDAREAs storing referencing tables or referenced tables
Note that system RDAREAs and replica RDAREAs are not checked. When the -q option is specified, the checking is on the RDAREAs as specified by their original RDAREA names.

Conditions to be checked:
The RDAREAs are checked to see if all the following conditions are satisfied:
  • HiRDB was started using an option other than -r in the pdstart command.
  • The -R option is omitted.
  • The RDAREAs are specified in the -r option of the pdcopy command.