From 7d7fe743d3abc1dbf5e1d7ca40df936b17557b6b Mon Sep 17 00:00:00 2001 From: Ali Nazzal <89179776+ali90h@users.noreply.github.com> Date: Wed, 27 Aug 2025 12:53:28 +0300 Subject: [PATCH] vgcfgbackup: add page (#17844) --- pages/linux/vgcfgbackup.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/vgcfgbackup.md diff --git a/pages/linux/vgcfgbackup.md b/pages/linux/vgcfgbackup.md new file mode 100644 index 0000000000..6898593ab9 --- /dev/null +++ b/pages/linux/vgcfgbackup.md @@ -0,0 +1,24 @@ +# vgcfgbackup + +> Back up volume group configuration metadata to files (not user data). +> More information: . + +- 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}}`