All RDAREAs in a back-end server (bes1) are backed up during operation of a HiRDB/Parallel Server. A log point information file is also obtained, because the system is operating without unloading the system log.
System log files are swapped in order to physically separate the system logs required for database restoration. To restore the RDAREAs from the backup copy to be created in step (2), the system log collected subsequently (the system log in the file to be used as the current file after swapping) will be used as input information.
pdlogswap -d sys -s bes1 -w |
pdcopy -m /rdarea/mast/mast01 -M r -s bes1 -b /pdcopy/backup01 |
Explanation
-m: Specifies the name of the first HiRDB file in the master directory RDAREA.
-M: Specifies the referencing-permitted mode as the backup acquisition mode.
-s: Specifies that all RDAREAs under the back-end server (bes1) are to be backed up.
-b: Specifies the name of the backup file.
-z: Specifies the name of the log point information file. Specify this option when operation without unloading the system log or the automatic log unloading facility is used.
-p: Specifies the output file name for the pdcopy command's processing results listing.