Nonstop Database, HiRDB Version 9 System Operation Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
6.4.5 Example 5 (backing up a system)
(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
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
(5) Entering the pdstart command to start HiRDB normally
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.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.