The method of customizing the shell script for backup pre- and post-processing is explained below.
Backup Volume Group
When you are backing up the volume group containing the logical volume used to build the file system, insert a comment character ("#") into line 75 of the pre-processing script (OpcBackup.pre) to remove the exit statement.
Remove the comment from lines 79-148 of the pre-processing script (OpcBackup.pre), as well as from lines 78-153 of the post-processing script (OpcBackup.post). Correct the description in a comment so that unmount/mount processing is carried out on all the logical volumes across which the file system exists. Change the parts shown as "X" to match the actual environment. If more than one logical volume is being processed, repeat lines 115-147 of the pre-processing script (OpcBackup.exe) and lines 116-147 of the post-processing script (OpcBackup.post) once for each additional logical volume.
Note
Note that unmount/mount processing to a volume group is not carried out if the scripts have not been customized.
If the backup volume is a volume group, deactivate the backup volume during backup pre-processing.
Correct the parameters and options, of the OS commands, such as the "mount" command and the "fsck" command, appropriately for their use.