VxVM uses the disk group configuration daemon to monitor the configuration of disk groups, and creates a backup of the configuration after an hour when ever it is changed. This is done to avoid processing multiple backup's being triggered in a short interval.. By default, the five most recent backups are preserved. The backup's are placed at the following location: /etc/vx/cbr/bk/diskgroup.dgid/bkp_YYYYMMDDD_HHMMSS/.This format helps you in restoring the diskgroup from a particular backup based on the time at which it was taken. If required, you can also back up a disk group configuration by running the vxconfigbackup command.
The following files record disk group configuration information:
Disk group information. |
|
Disk attributes. |
|
Binary configuration copy. |
|
Configuration records in vxprint -m format. |
Here diskgroup is the name of the disk group, and dgid is the disk group ID. If a disk group is to be recreated on another system, copy these files to that system.
Warning: |
Take care that you do not overwrite any files on the target system that are used by a disk group on that system. |
To back up a disk group configuration
# /etc/vx/bin/vxconfigbackup [-f] [-l directory] [[diskgroup ...] | [dgid ...]]
To back up all disk groups, use this version of the command:
# /etc/vx/bin/vxconfigbackup [-f] [-l directory]