1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-08-28 22:53:27 +02:00

vgcfgbackup: add page (#17844)

This commit is contained in:
Ali Nazzal 2025-08-27 12:53:28 +03:00 committed by GitHub
parent 760d21ead6
commit 7d7fe743d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -0,0 +1,24 @@
# vgcfgbackup
> Back up volume group configuration metadata to files (not user data).
> More information: <https://manned.org/vgcfgbackup>.
- Back up metadata for all volume groups (to `/etc/lvm/backup/` by default):
`vgcfgbackup`
- Back up metadata for a specific volume group:
`vgcfgbackup {{vg_name}}`
- Write the backup to a specific file:
`vgcfgbackup {{[-f|--file]}} {{path/to/backup}} {{vg_name}}`
- Back up multiple VGs using a filename template (`%s` becomes the VG name):
`vgcfgbackup {{[-f|--file]}} {{/tmp/vg-backup-%s}} {{vg1 vg2 ...}}`
- Increase verbosity (repeat `-v` for more detail):
`vgcfgbackup {{[-v|--verbose]}} {{vg_name}}`