Scalable Database Server, HiRDB Version 8 Command Reference
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
19.3.2 Restoring in units of RDAREAs
(1) Restoring in units of RDAREAs
This example restores two user RDAREAs (RDAREA01 and RDAREA02) to the most recent status:
pdrstr -m c:\sysarea\rdsys011\mast01 -b c:\hirdb\pdrstr\backup01
-l c:\hirdb\pdrstr\unld01 -p c:\hirdb\pdrstr\list01 -w c:\hirdb\pdrstr\sortwork
-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.
- -l: Specifies the name of the unload log file. This is the name of the unload log file that was created after the backup was made.
- -p: Specifies the output file name for the database recovery utility process results listing.
- -w: Specifies the work directory for sorting.
- -r: Specifies that RDAREAs to be restored.
(2) Restoring RDAREAs during operation without unloading the system log
This example restores two user RDAREAs (RDAREA01 and RDAREA02) to the most recent status. It assumes that the HiRDB system is running without unloading the system log:
pdrstr -m c:\sysarea\rdsys011\mast01 -b c:\hirdb\pdrstr\backup01
-L -p c:\hirdb\pdrstr\list01 -w c:\hirdb\pdrstr\sortwork -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.
- -L: Specifies that the system log file is to be read.
- -p: Specifies the output file name for the database recovery utility process results listing.
- -w: Specifies the work directory for sorting.
- -r: Specifies that all RDAREAs are to be restored.
All Rights Reserved. Copyright (C) 2007, Hitachi, Ltd.