vxconfigbackupd - disk group configuration backup daemon
The vxconfigbackupd daemon automatically backs up information about a disk groups new configuration whenever the configuration is changed. To prevent overwriting a good configuration copy with a corrupted configuration copy, the back up occurs about an hour after the configuration changes.
-l Logs backup daemon activities to the file /etc/vx/cbr/bkdaemonLog.
/etc/init.d/vxvm-recover Startup file for vxconfigbackupd. /etc/vx/cbr/bk_config Location of file for backup tunable parameters. The following parameters can be defined:
NUM_BK Number of disk group configuration backup copies. The value can be from 1 to 5. If you specify a value greater than 5, VxVM interprets the value as 5. CF_BKUP_PATH The path where the backup copies are stored. LABEL_BACKUP Whether the disk label backup is enabled or not. By default, label backup is enabled. If you want to disable label backup, specify LABEL_BACKUP=no in the bk_config file. /etc/vx/cbr/bk/dgname.dgid/dgid.dginfo Location of backup file for disk group information. /etc/vx/cbr/bk/dgname.dgid/dgid.diskinfo Location of backup file for disk attributes. /etc/vx/cbr/bk/dgname.dgid/dgid.binconfig Location of backup file for binary configuration copy. /etc/vx/cbr/bk/dgname.dgid/dgid.cfgrec Location of backup file for configuration records in vxprint -m format. /etc/vx/cbr/bk/dgname.dgid/unique_disk_identifier Default location of backup file for disk label information for each CDS formatted disk that has an SMI (Sun Microsystems, Inc.) label.
The vxconfigbackup command can be used to back up a disk groups configuration manually at any desired time.
The disk group configuration backup and restore utilities do not save any data in the public region. This includes file system or other application data that is configured within VxVM objects.
When a disk group is destroyed, its configuration backup information (including the backup directory) is also removed. The only exception to this behavior is when the disk group is in the precommit state of restoration.
The backup directory should be large enough to accommodate copies of all the currently imported disk groups. The minimum recommended size of the backup directory is P * (N + 1) megabytes, where P is the private region in megabytes (by default, 32MB), and N is the number of disk groups. The additional P megabytes is required to hold a temporary copy of the disk group configuration when a disk group is imported or a configuration change is made.
The default backup directory is /etc/vx/cbr/bk. The location of the backup directory can be configured by using the vxconfigbackup -l backup_directory_path command.