HiRDB is terminated, then the pdstart -r command is used to start HiRDB and all RDAREAs are backed up.
pdstop |
pdstart -r |
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.
pdstop |
pdstart |
It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.