VXVM 6.1 – How to Backup and Restore the VxVM DiskGroup Configuration?

vxvm-how-toDisk Group Configuration Backup :

Back up the configuration of the mydg disk group to the directory /dgbackup/mydg:
# vxconfigbackup -l /dgbackup/mydg mydg
The vxconfigbackupd daemon automatically backs up a disk group’s new configuration to the default backup directory whenever the configuration is changed. The vxconfigbackup command is provided to back up the configuration manually at any other desired time.

Disk Group Configuration Restore:

Load the configuration of the mydg disk group from the default directory, and reinstall disks that have corrupted VxVM disk headers:
# vxconfigrestore -p mydg
Load the configuration of the mydg1 disk group from the backup files in the directory /dgbackup/mydg1 without reinstalling any disks that have corrupted private region disk headers:
# vxconfigrestore -n -l /dgbackup/mydg1 mydg1
Abandon the restoration of the mydg2 disk group at the precommit stage:
# vxconfigrestore -d -l /dgbackup/mydg2 mydg2
Commit the restoration of the configuration of the mydg disk group from the backup files in the directory /dgbackup/mydg:
# vxconfigrestore -c -l /dgbackup/mydg mydg
Restore the disk label for a disk disk_1 in the disk group mydg from the backup data:
# vxconfigrestore -r mydg disk_1
Ramdev

Ramdev

I have started unixadminschool.com ( aka gurkulindia.com) in 2009 as my own personal reference blog, and later sometime i have realized that my leanings might be helpful for other unixadmins if I manage my knowledge-base in more user friendly format. And the result is today's' unixadminschool.com. You can connect me at - https://www.linkedin.com/in/unixadminschool/

1 Response

  1. October 6, 2015

    […] access records in VxVM , using vxdarestore ? Read – How to Enable vxconfigd log for dedugging? Read – How to Backup and Restore the VxVM DiskGroup Configuration? Read – How to Convert VxVM disks […]

What is in your mind, about this post ? Leave a Reply

Close
  Our next learning article is ready, subscribe it in your email

What is your Learning Goal for Next Six Months ? Talk to us