Nonstop Database, HiRDB Version 9 System Operation Guide

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

21.4.3 Recovery when a differential backup management file is not available

If no differential backup management file is available, the database must be recovered by executing the pdrstr command multiple times (once for each backup that was made).

When the recovery method in Example 2 above is executed, the operation at step 21.4.2(6) Use the pdrstr command to recover RDAREAs to the most recent synchronization will be different. This section explains the operation from this step on. It is assumed that differential backups are collected at the following times:

Organization of this subsection
(1) Use the pdrstr command to recover RDAREAs using the full backup as the input information
(2) Use the pdrstr command to recover RDAREAs using a differential backup as the input information
(3) Use the pdrstr command to recover RDAREAs using the differential backup as the input information
(4) Use the pdrstr command to recover RDAREAs using the unload log file as the input information

(1) Use the pdrstr command to recover RDAREAs using the full backup as the input information

 
pdrstr -m /rdarea/mast/mast01 -g backupg1 -K /pdcopy/admfile
-b /pdcopy/backup01 -r rdarea01,rdarea02
 

Explanation
-b: Specifies the name of the full backup file.

(2) Use the pdrstr command to recover RDAREAs using a differential backup as the input information

Use the pdrstr command to recover RDAREAs using the differential backup made on Monday as the input information.

 
pdrstr -m /rdarea/mast/mast01 -g backupg1 -K /pdcopy/admfile
-b /pdcopy/backup02 -r rdarea01,rdarea02
 

Explanation
-b: Specifies the name of the differential backup file.

(3) Use the pdrstr command to recover RDAREAs using the differential backup as the input information

Use the pdrstr command to recover RDAREAs using the differential backup made on Tuesday as the input information.

 
pdrstr -m /rdarea/mast/mast01 -g backupg1 -K /pdcopy/admfile
-b /pdcopy/backup03 -r rdarea01,rdarea02
 

Explanation
-b: Specifies the name of the differential backup file.

(4) Use the pdrstr command to recover RDAREAs using the unload log file as the input information

Use the pdrstr command to recover the RDAREAs beyond the differential backup collected on Tuesday using the unload log file as the input information. If an error occurs at this point, repeat the sequence of operations, beginning with step (1). After RDAREAs have been recovered using the unload log file as the input information, it is important to make a full backup.

 
pdrstr -m /rdarea/mast/mast01 -l /unld/unldlog01 -w /tmp/sortwork
-r rdarea01,rdarea02
 

Explanation
-l: Specifies the name of the unload log file.