Nonstop Database, HiRDB Version 9 System Operation Guide

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

6.4.5 Example 5 (backing up a system)

HiRDB is terminated, then the pdstart -r command is used to start HiRDB and all RDAREAs are backed up.

Note
A log point information file cannot be created when this method is used. This method should not be used when the system is operating without unloading the system log.
Organization of this subsection
(1) Entering the pdstop command to terminate HiRDB normally
(2) Entering the pdstart -r command to start HiRDB
(3) Using the pdcopy command to back up all RDAREAs
(4) Entering the pdstop command to terminate HiRDB normally
(5) Entering the pdstart command to start HiRDB normally

(1) Entering the pdstop command to terminate HiRDB normally

 
pdstop
 

(2) Entering the pdstart -r command to start HiRDB

 
pdstart -r
 

(3) Using the pdcopy command to back up all RDAREAs

 
pdcopy -m /rdarea/mast/mast01 -M x -a -b /pdcopy/backup01 -p pdcopy/list01
 

Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-M: Specifies the referencing/updating-impossible mode as the backup acquisition mode. Because the pdstart -r command was used to start HiRDB, there is no need to place the RDAREAs in shutdown and closed status even if x is specified.
-a: Specifies that all RDAREAs are to be backed up.
-b: Specifies the name of the backup file.
-p: Specifies the output file name for the pdcopy command's processing results listing.

Remark
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 when backup is being made.

(4) Entering the pdstop command to terminate HiRDB normally

 
pdstop
 

(5) Entering the pdstart command to start HiRDB normally

 
pdstart
 

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.