← 返回命令列表

Linux command

vgcfgbackup 命令

安全

权限或系统影响较大,执行前请核对目标。

常用示例

Example

sudo vgcfgbackup

Example

sudo vgcfgbackup [vg_name]

Example

sudo vgcfgbackup -f [path/to/backup] [vg_name]

Example

sudo vgcfgbackup -f [/tmp/vg-backup-%s] [vg1] [vg2]

Verbose

sudo vgcfgbackup -v [vg_name]

说明

vgcfgbackup backs up LVM volume group configuration metadata to files. This backs up the volume group structure, not the actual user data contained in logical volumes. By default, backups are written to /etc/lvm/backup/. The %s placeholder in filenames is replaced with the volume group name.

参数

-f, --file _FILE_
Write backup to specified file
-v, --verbose
Increase verbosity (can be repeated)

FAQ

What is the vgcfgbackup command used for?

vgcfgbackup backs up LVM volume group configuration metadata to files. This backs up the volume group structure, not the actual user data contained in logical volumes. By default, backups are written to /etc/lvm/backup/. The %s placeholder in filenames is replaced with the volume group name.

How do I run a basic vgcfgbackup example?

Run `sudo vgcfgbackup` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -f, --file _FILE_ do in vgcfgbackup?

Write backup to specified file