VGCFGBACKUP

Section: Maintenance Commands (8)
Updated: LVM TOOLS 2.02.53(1) (2009-09-25)
Index Return to Main Contents
 

NAME

vgcfgbackup - backup volume group descriptor area  

SYNOPSIS

vgcfgbackup [-d|--debug] [-f|--file filename] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose] [VolumeGroupName...]  

DESCRIPTION

vgcfgbackup allows you to backup the metadata of your volume groups. If you don't name any volume groups on the command line, all of them will be backed up.

In a default installation, each volume group gets backed up into a separate file bearing the name of the volume group in the directory /etc/lvm/backup. You can write the backup to an alternative file using -f. In this case if you are backing up more than one volume group the filename is treated as a template, and %s gets replaced by the volume group name.

NB. This DOESN'T backup user/system data in logical volume(s)! Backup /etc/lvm regularly too.  

OPTIONS

See lvm for common options.  

SEE ALSO

lvm(8), vgcfgrestore(8)