Nonstop Database, HiRDB Version 9 System Operation Guide
![[Contents]](FIGURE/CONTENT.GIF)
![[Index]](FIGURE/INDEX.GIF)
![[Back]](FIGURE/FRONT.GIF)
21.5.1 Example (migrating a backup acquired in HiRDB system A in a test environment to HiRDB system B in an actual operating environment)
(1) Acquire a backup in HiRDB system A
(a) Shut down and close all RDAREAs (excluding the master directory RDAREA)
(b) Back up all RDAREAs
pdcopy -m /rdarea/mast/mast01 -M r -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 reference-possible mode for the backup acquisition mode.
- -a: Specifies that all RDAREAs are to be backed up.
- -b: Specifies the name of the backup file.
- -p: Specifies the output destination for the pdcopy command's processing results listing.
(c) Release all RDAREAs (excluding the master directory RDAREA) from shutdown status and open them
(2) Migrate the backup file of HiRDB system A to HiRDB system B
Migrate the backup file for all RDAREAs of HiRDB system A acquired in step (1) (/pdcopy/backup01) to HiRDB system B.
(3) Use the backup files of HiRDB system A and recover them in HiRDB system B
(a) Enter the pdstop command to terminate HiRDB normally
(b) Enter the pdstart -r command to start HiRDB
(c) Enter the pdrstr command to restore all RDAREAs
pdrstr -m /rdarea/mast/mast01 -b /pdcopy/backup01 -a
|
- Explanation
- -m: Specifies the name of the first HiRDB file in the master directory RDAREA.
- -b: Specifies the name of the backup file acquired in HiRDB system A.
- -a: Specifies that all RDAREAs are to be recovered.
(d) Enter the pdstop command to terminate HiRDB normally
(e) Enter 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 about how to check command execution results, see the manual HiRDB Version 9 Command Reference.
All Rights Reserved. Copyright (C) 2011, 2015, Hitachi, Ltd.