19.3.4 Restoring RDAREAs using JP1/OmniBack II

Organization of this subsection
(1) Restoring to the point when the last backup was made
(2) Restoring to the most recent status

(1) Restoring to the point when the last backup was made

This example restores all RDAREAs to the point when the last backup was made:

pdrstr -m /hirdb/rdarea/mast/mast01 -b host01:backup001 -p /usr/hirdb/pdrstr/list/
list01 -k o -G DLT01 -a

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-b: Specifies the name of the backup file (JP1/OmniBack II's object name).
-p: Specifies the output file name for the database recovery utility process results
-k: Specifies the type of backup file. This example specifies o as the type of backup file because it uses JP1/OmniBack II's object file.
-G: Specifies the name of the barlist file.
-a: Specifies that all RDAREAs are to be restored.

(2) Restoring to the most recent status

This example restores two user RDAREAs (RDAREA01 and RDAREA02) to the most recent status:

pdrstr -m /hirdb/rdarea/mast/mast01 -b host01:backup001
-l /usr/hirdb/pdlogunld/unld01 -w /tmp/sortwork -p /usr/hirdb/pdrstr/list/list01
-k o -G DLT01 -r RDAREA01,RDAREA02

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-b: Specifies the name of the backup file (JP1/OmniBack II's object name).
-l: Specifies the name of the unload log file. This is the name of the unload log file that was created after the last backup was made.
-w: Specifies the work directory for sorting.
-p: Specifies the output file name for the database recovery utility process results listing.
-k: Specifies the type of backup file. This example specifies o as the type of backup file because it uses JP1/OmniBack II's object file.
-G: Specifies the name of the barlist file.
-r: Specifies the RDAREAs to be restored.