LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

vgcfgbackup

Backup LVM volume group metadata

TLDR

Backup all volume groups
$ sudo vgcfgbackup
copy
Backup specific volume group
$ sudo vgcfgbackup [vg_name]
copy
Backup to file
$ sudo vgcfgbackup -f [path/to/backup] [vg_name]
copy
Backup multiple VGs with template
$ sudo vgcfgbackup -f [/tmp/vg-backup-%s] [vg1] [vg2]
copy
Verbose output
$ sudo vgcfgbackup -v [vg_name]
copy

SYNOPSIS

vgcfgbackup [OPTIONS] [VGNAME_...]

DESCRIPTION

vgcfgbackup backs up LVM volume group configuration metadata to files. This backs up the volume group structure, not the actual user data contained in logical volumes.By default, backups are written to /etc/lvm/backup/. The %s placeholder in filenames is replaced with the volume group name.

PARAMETERS

-f, --file FILE

Write backup to specified file
-v, --verbose
Increase verbosity (can be repeated)

INSTALL

sudo apt install lvm2
copy
sudo dnf install lvm2
copy
sudo pacman -S lvm2
copy
sudo apk add lvm2
copy
sudo zypper install lvm2
copy
nix profile install nixpkgs#lvm2
copy

CAVEATS

Only backs up metadata, not data. Requires root privileges. Backup files should be stored securely off the system being backed up.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid