19.2.3 Example 3: When JP1/OmniBack II is used for recovery

This example recovers all RDAREAs, including the system RDAREAs, to a backup acquisition point; it is assumed that a backup of the entire system (backup of all RDAREAs) is available. Note that JP1/OmniBack II was used to make the backup.

Organization of this subsection
(1) Use pdstop command to terminate HiRDB normally
(2) Use pdstart -r command to start HiRDB
(3) Check for objects to be used for recovery
(4) Use pdrstr command to recover all RDAREAs
(5) Use pdstop command to terminate HiRDB normally
(6) Use pdstart command to start HiRDB normally

(1) Use pdstop command to terminate HiRDB normally

pdstop

(2) Use pdstart -r command to start HiRDB

pdstart -r

(3) Check for objects to be used for recovery

Use the omnidb command of JP1/OmniBack II to check for the objects to be used for recovery. Specify the -stream option in the omnidb command.

(4) Use pdrstr command to recover all RDAREAs

pdrstr -m /rdarea/mast/mast01 -k o -b host01:backup01 -G DLT01 -a

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-k: Specifies the type of backup file. o is specified because a JP1/OmniBack II object is used.
-b: Specifies the name of the backup file that stores the backup of all RDAREAs. Specifies the name of a JP1/OmniBack II object as the backup file name. The specification format is host-name: object-name.
-G: Specifies the name of the barlist file.
-a: Specifies that all RDAREAs are to be backed up.

(5) Use pdstop command to terminate HiRDB normally

pdstop

(6) Use pdstart command to start HiRDB normally

pdstart

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.