DESCRIPTION

vgcfgrestore restores the volume group descriptor area from backup
files in /etc/lvmconf or from VGConfPath to the given initialized (see
pvcreate(8) ) PhysicalVolumePath. The default backup file is
/etc/lvmconf/VolumeGroupName.conf. This command DOES NOT restore data
contained in logical volume(s), only the LVM configuration metadata!
OPTIONS-b, --backup_numberVolumeGroupBackupNumber
Restore from the specified backup number. Use together with
option -n which gives the name of the volume group. See examples
below.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-f, --fileVGConfPath
Restore from the specified path. Useful for selection of
specific backups in the backup history or for copies of VGDA
backups.
-i, --ignore_size
Restore though the size of the physical volume doesn’t match the
one in the backup.
-l, --list
Display volume group information contained in the backup file.
If given twice, the physical and logical volume information
contained in the backup file is also shown.
-h, --help
Print a usage message on standard output and exit successfully.
-n, --nameVolumeGroupName
Do a restore for this volume group name.
-o, --oldpathOldPhysicalVolumePath
If the path to the physical volume has changed between backup
time and restore time, this option enables you to choose the
corresponding physical volume path in the backup file.
-t, --test
Do a test run reading the volume group backup WITHOUT trying to
restore it
-v, --verbose
Give verbose runtime information about vgcfgrestore’s
activities.
--version
Output the version number and exit successfully.