mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-05 03:44:07 +00:00
26 lines
661 B
Plaintext
26 lines
661 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|