19.4.1 Example 1: Recover to the most recent differential backup acquisition point

This example recovers user RDAREAs (rdarea01 and rdarea02) to a differential backup acquisition point.

Organization of this subsection
(1) Use the pdclose command to close RDAREAs in error shutdown status
(2) Use the pdrstr command to recover RDAREAs
(3) Use the pdrels command to open recovered RDAREAs by releasing their error shutdown status

(1) Use the pdclose command to close RDAREAs in error shutdown status

pdclose -r rdarea01,rdarea02

(2) Use the pdrstr command to recover RDAREAs

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

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-g: Specifies the name of a differential backup group.
-K: Specifies the name of the HiRDB file system area for storing the differential backup management file.
-r: Specifies the names of the RDAREAs (rdarea01 and rdarea02) that are to be recovered.

(3) Use the pdrels command to open recovered RDAREAs by releasing their error shutdown status

pdrels -r rdarea01,rdarea02 -o

It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.