|HP-UX Reference > V
HP-UX 11i Version 3: February 2007
vgcfgbackup — create or update LVM volume group configuration backup file
The vgcfgbackup command saves the LVM configuration for a volume group in a default or alternate configuration backup file (see the -f option).
By default, vgcfgbackup runs automatically each time an LVM command changes the LVM configuration. In this case, it always uses the default configuration backup file. An existing default configuration backup file is renamed with an extension of .old.
Options and Arguments
vgcfgbackup recognizes the following options and arguments:
vgcfgbackup exits with one of the following values:
Back up LVM configuration information for volume group /dev/vg00 in the default backup file /etc/lvmconf/vg00.conf:
Update LVM configuration information corresponding to volume group /dev/vg00 in the default backup file /etc/lvmconf/vg00.conf:
vgcfgbackup -u /dev/vg00
Back up LVM configuration information for volume group /dev/vg00 in the alternate configuration backup file /tmp/vg00.backup:
vgcfgbackup -f /tmp/vg00.backup vg00
It is recommended that any alternate configuration backup file be created in the root file system (as is the case with the default path name). This facilitates easy volume group recovery during maintenance mode, such as after a system crash.