Available in

(8)

Contents

NAME

vgcfgbackup − backup volume group descriptor area

SYNOPSIS

vgcfgbackup [−d|−−debug] [−h|−−help] [−v|−−verbose] [VolumeGroupName...]

DESCRIPTION

vgcfgbackup allows you to backup the metadata or Volume Group Descriptor 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/lvmconf/VolumeGroupName.conf and /etc/lvmconf/VolumeGroupName.conf.[1-9].old. This enables you to restore your volume group configuration 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 activities.

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 [AT] Sistina.com>

COMMENTS

blog comments powered by Disqus