Backing Up Volume Group Metadata

Metadata backups and archives are automatically created on every volume group and logical volume configuration change unless disabled in the lvm.conf file. By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archives file.

You can manually back up the metadata to the /etc/lvm/backup file with the vgcfgbackupcommand.

The vgcfrestore command restores the metadata of a volume group from the archive to all the physical volumes in the volume groups.

Comments are closed.