Previous  |  Next  >  
Product: Volume Manager Manual Pages for Storage Foundation   
Manual: Maintenance Commands (1m)   

dgcfgbackup

NAME

dgcfgbackup - create or update VxVM volume group configuration backup file

SYNOPSIS


/usr/sbin/dgcfgbackup [-f dg_conf_path ] dg_name

DESCRIPTION

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.

OPTIONS AND ARGUMENTS

dg_name

Specifies the name of a disk group.

-f dg_conf_path

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.

EXIT CODES

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.

EXAMPLES

Back up VxVM configuration information for disk group testdg in the default backup file /etc/vxvmconf/testdg.conf:


dgcfgbackup testdg

Back up VxVM configuration information for disk group datadg in the alternate configuration backup file /tmp/datadg.backup:


dgcfgbackup -f /tmp/datadg.backup datadg

NOTES

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.

AUTHOR

dgcfgbackup was developed by the Hewlett-Packard Company.

SEE ALSO

dgcfgrestore (1M)
 ^ Return to Top Previous  |  Next  >  
Product: Volume Manager Manual Pages for Storage Foundation  
Manual: Maintenance Commands (1m)  
VERITAS Software Corporation
www.veritas.com