Linux Command Library
commands
Commands
basic
Basic
tips
Tips

vgcfgbackup

backup volume group descriptor area

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

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.

See lvm(8) for common options.

lvm(8), vgcfgrestore(8)

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied