Nonstop Database, HiRDB Version 9 System Operation Guide
This example recovers user RDAREAs (rdarea01 and rdarea02) to their status at the most recent synchronization point preceding the error. For operating system log files, operation without unloading system log is used.
In addition to these RDAREAs, you must also recover all related RDAREAs at the same time. For details about the related RDAREAs, see 6.3 RDAREAs to be backed up together.
Perform this operation only on user RDAREAs and user LOB RDAREAs (the original RDAREAs of user RDAREAs and the original RDAREAs of user LOB RDAREAs if the inner replica facility is used). If a row-partitioned table is defined, execute the pdrdrefls command with the -t option to identify the RDAREAs comprising the row-partitioned table.
If you need to recover more RDAREAs than the following example shows, add their names following the -r option.
pdrdrefls -k chk -e org -c ref -r rdarea01,rdarea02 |
pdclose -r rdarea01,rdarea02 |
Since the current file cannot be used as the input information for the database recovery utility, swap the system log files. For a HiRDB parallel server configuration, swap the system log files of the back-end servers where rdarea01 and rdarea02 are located.
pdlogswap -d sys |
pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01 -L -w /tmp/sortwork -r rdarea01,rdarea02 |
pdcopy -m /rdarea/mast/mast01 -M x -r rdarea01,rdarea02 -b /pdcopy/backup02 -z /pdcopy/logpoint01 |
pdrels -r rdarea01,rdarea02 -o |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.