blob: c6f20d997ce7c66a14a6b653dfb6eecf7d540f42 [file] [log] [blame]
.TH VGCFGBACKUP 8 "LVM TOOLS #VERSION#" "Sistina Software UK" \" -*- nroff -*-
vgcfgbackup \(em backup volume group descriptor area
.B vgcfgbackup
.RB [ \-\-commandprofile
.IR ProfileName ]
.RB [ \-d | \-\-debug ]
.RB [ \-f | \-\-file
.IR Filename ]
.RB [ \-h | \-\-help ]
.RB [ \-\-ignorelockingfailure ]
.RB [ \-P | \-\-partial ]
.RB [ \-\-reportformat
.RB { basic | json }]
.RB [ \-v | \-\-verbose ]
.RI [ 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
You can write the backup to an alternative file using \fB\-f\fP. 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 \fI#DEFAULT_SYS_DIR#\fP regularly too.
See \fBlvm\fP(8) for common options.
.BR lvm (8),
.BR vgcfgrestore (8)