Nonstop Database, HiRDB Version 9 System Operation Guide
This example recovers user RDAREAs (rdarea01 and rdarea02) to the most recent synchronization point before an error occurred; it is assumed that the system log is being unloaded.
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 |
In the case of a HiRDB parallel server configuration, check the system log files at the back-end servers at which rdarea01 and rdarea02 are located.
pdlogls -d sys |
In order to unload the contents of the current file, the system log files are swapped. In the case of a HiRDB parallel server configuration, swap the system log files at the back-end servers at which rdarea01 and rdarea02 are located.
pdlogswap -d sys |
Unload the contents of the current file identified in step (3). In the case of a HiRDB parallel server configuration, unload the contents of the current system log files at the back-end servers at which rdarea01 and rdarea02 are located.
pdlogunld -d sys -g log01 -o /unld/unldlog02 |
pdrstr -m /rdarea/mast/mast01 -g backupg1 -K /pdcopy/admfile -l /unld/unldlog01 -w /tmp/sortwork -r rdarea01,rdarea02 |
pdcopy -m /rdarea/mast/mast01 -M r -r rdarea01,rdarea02,... -g backupg1(S) -b /pdcopy/backup01 -d a -K /pdcopy/admfile -L 5 -o /pdcopy/rfile |
pdrels -r rdarea01,rdarea02 -o |
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.