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.