Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > d

dgcfgbackup(1M)

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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 -f option).

By default, dgcfgbackup runs automatically each time 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

dgcfgbackup recognizes the following options and arguments:

dg_name

The name of a disk group.

-f dg_conf_path

Save the configuration using an alternate file name specified by dg_conf_path.

If -f is omitted, the default file name is in the form:

/etc/vxvmconf/dg_name.conf

RETURN VALUE

dgcfgbackup exits with one of the following values:

0

Successful completion.

>0

Failure. 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

WARNINGS

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 disk group recovery during maintenance mode, such as after a system crash.

AUTHOR

dgcfgbackup was developed by HP.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2001 Hewlett-Packard Development Company, L.P.