vgcfgbackup
VGCFGBACKUP(8) VGCFGBACKUP(8)
NAME
vgcfgbackup - backup volume group descriptor area
SYNOPSIS
vgcfgbackup [-d|--debug] [-h|--help] [-v|--verbose] [VolumeGroup-
Name...]
DESCRIPTION
vgcfgbackup allows you to backup the metadata or Volume Group Descrip-
tor Area (VGDA) of one to all volume groups to files in /etc/lvmconf.
If you don't give any volume groups in the command line, all of them
will be backed up. This DOESN'T backup user/system data in logical
volume(s)! To restore volume group descriptor area backups see the
vgcfgrestore(8) tool. A 10 step history is backed up in /etc/lvm-
conf/VolumeGroupName.conf and /etc/lvmconf/VolumeGroup-
Name.conf.[1-9].old. This enables you to restore your volume group con-
figuration up to 10 steps back in the backup history.
OPTIONS
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-v, --verbose
Gives verbose runtime information about vgcfgbackup's activi-
ties.
DIAGNOSTICS
vgcfgbackup returns an exit code of 0 for success and > 0 for error:
1 error doing backup
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
SEE ALSO
lvm(8), vgcfgrestore(8), vgcreate(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGCFGBACKUP(8)