Nonstop Database, HiRDB Version 9 System Operation Guide

[Contents][Index][Back][Next]

6.7.2 Example 1 (using another product's backup facilities)

Back up RDAREAs (rdarea01 and rdarea02) while HiRDB is operating. Use another product's backup facility to back up the HiRDB file system area that comprises these RDAREAs.

Organization of this subsection
(1) Using the pdhold command to back up and hold the RDAREAs to be backed up
(2) Swapping the system log files
(3) Making the backup
(4) Using the pdrels command to release backup and hold of RDAREAs

(1) Using the pdhold command to back up and hold the RDAREAs to be backed up

 
pdhold -r rdarea01,rdarea02 -b -w
 

Explanation
-r: Specifies the RDAREAs to be backed up.
-b -w: Specifies reference-possible backup hold (update WAIT mode).

(2) Swapping the system log files

Before you back up the RDAREAs, use the pdlogswap command to swap the system log files.

 
pdlogswap -d sys -w
 

(3) Making the backup

Use another product's backup facility to back up the HiRDB file system area that comprises the RDAREAs (rdarea01 and rdarea02).

Remarks
When the automatic log unloading facility is being used, execute the pdlogatul command to record the unload log file name that corresponds to the current system log file.

(4) Using the pdrels command to release backup and hold of RDAREAs

 
pdrels -r rdarea01,rdarea02
 

We recommend that, after the command has executed, you check whether the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 9 Command Reference.