linux man page for vgcfgrestore

Query: vgcfgrestore

OS: linux

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

VGCFGRESTORE(8) 					      System Manager's Manual						   VGCFGRESTORE(8)

NAME
vgcfgrestore - restore volume group descriptor area
SYNOPSIS
vgcfgrestore [-d|--debug] [-f|--file filename] [-l[l]|--list] [-h|--help] [-M|--Metadatatype1|2] [-t|--test] [-v|--verbose] VolumeGroupName
DESCRIPTION
vgcfgrestore allows you to restore the metadata of VolumeGroupName from a text backup file produced by vgcfgbackup. You can specify a backup file with --file. If no backup file is specified, the most recent one is used. Use --list for a list of the available backup and archive files of VolumeGroupName.
OPTIONS
-l | --list -- List files pertaining to VolumeGroupName List metadata backup and archive files pertaining to VolumeGroupName. May be used with the -f option. Does not restore Vol- umeGroupName. -f | --file filename -- Name of LVM metadata backup file Specifies a metadata backup or archive file to be used for restoring VolumeGroupName. Often this file has been created with vgcfg- backup. See lvm for common options.
REPLACING PHYSICAL VOLUMES
vgdisplay --partial --verbose will show you the UUIDs and sizes of any PVs that are no longer present. If a PV in the VG is lost and you wish to substitute another of the same size, use pvcreate --restorefile filename --uuid uuid (plus additional arguments as appropriate) to initialise it with the same UUID as the missing PV. Repeat for all other missing PVs in the VG. Then use vgcfgrestore --file filename to restore the volume group's metadata.
SEE ALSO
lvm(8), vgcreate(8) Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGCFGRESTORE(8)
Related Man Pages
vgcfgrestore(8) - centos
vgconvert(8) - debian
vgconvert(8) - mojave
vgcfgrestore(8) - opensolaris
vgcfgrestore(8) - sunos
Similar Topics in the Unix Linux Community
Recover dropped database
Kernal Panic questions
Restoring files from backup based on ctime
Undelete, backup inodes
Help about create backup of SCO openserver 5.0.7