HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

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

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumeconfigurationcommandgroupclirestorenotvgcfgrestore
linux

Problem

How to use the vgcfgrestore command: Restore volume group configuration (not user data) from a text back up file produced by vgcfgbackup. More information: <https://manned.org/vgcfgrestore>.

Solution

vgcfgrestore — Restore volume group configuration (not user data) from a text back up file produced by vgcfgbackup. More information: <https://manned.org/vgcfgrestore>.

Restore VG metadata from last backup.:
sudo vgcfgrestore {{vg_name}}


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}}

Code Snippets

Restore VG metadata from last backup.

sudo vgcfgrestore {{vg_name}}

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}}

Context

tldr-pages: linux/vgcfgrestore

Revisions (0)

No revisions yet.