commands.sh

vgcfgrestore

linux

Restore volume group configuration (not user data) from a text back up file produced by `vgcfgbackup`.

More info →

Options (2)

-f, --fileboolean

Restore VG metadata from specified backup-file

Example: sudo vgcfgrestore {{[-f|--file]}} {{path/to/file}} {{vg_name}}
-l, --listboolean

List all VG metadata backups

Example: sudo vgcfgrestore {{[-l|--list]}} {{vg_name}}

Examples (4)

Restore VG metadata from last backup.

Restore VG metadata from specified backup-file

sudo vgcfgrestore [-f|--file] path/to/file vg_name

List all VG metadata backups

sudo vgcfgrestore [-l|--list] vg_name

List one VG metadata backup file

sudo vgcfgrestore [-l|--list] [-f|--file] path/to/file vg_name
made by @shridhargupta | data from tldr-pages