dgcfgbackup - create or update VxVM volume group configuration backup file
/usr/sbin/dgcfgbackup [-f dg_conf_path ] dg_name
The dgcfgbackup command saves the VxVM configuration for a disk group in a default or alternate configuration backup file (see the description of the-f option).
By default, dgcfgbackup is run automatically each time that a VxVM command changes the VxVM 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.
Specifies the name of a disk group.
Saves the configuration using an alternate file name specified by dg_conf_path. If this option is omitted, the default file name is /etc/vxvmconf/dg_name.conf.
dgcfgbackup exits with a zero status on successful completion. An non-zero exit status indicates that errors occurred when information from the disk group was being accessed.
Back up VxVM configuration information for disk group testdg in the default backup file /etc/vxvmconf/testdg.conf:
Back up VxVM configuration information for disk group datadg in the alternate configuration backup file /tmp/datadg.backup:
dgcfgbackup -f /tmp/datadg.backup datadg
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 disk group recovery during maintenance mode, such as after a system crash.
dgcfgbackup was developed by the Hewlett-Packard Company.
dgcfgrestore(1M)