vgcfgrestore
linux
Restore volume group configuration (not user data) from a text back up file produced by `vgcfgbackup`.
More info →Options (2)
-f, --filebooleanRestore VG metadata from specified backup-file
Example:
sudo vgcfgrestore {{[-f|--file]}} {{path/to/file}} {{vg_name}}-l, --listbooleanList all VG metadata backups
Example:
sudo vgcfgrestore {{[-l|--list]}} {{vg_name}}Examples (4)
Restore VG metadata from last backup.
sudo vgcfgrestore vg_nameRestore VG metadata from specified backup-file
sudo vgcfgrestore [-f|--file] path/to/file vg_nameList all VG metadata backups
sudo vgcfgrestore [-l|--list] vg_nameList one VG metadata backup file
sudo vgcfgrestore [-l|--list] [-f|--file] path/to/file vg_namemade by @shridhargupta | data from tldr-pages