Back up the volume group descriptor area using the vgcfgbackup command of linux
Editor to share with you the use of linux vgcfgbackup command backup volume group descriptor area, I believe that most people do not know much, so share this article for you to learn, I hope you will learn a lot after reading this article, let's go to learn the method!
The purpose of the vgcfgbackup command is to back up the metadata of the volume group. If no volume groups are specified on the command line, all volume groups are backed up. By default, each volume group is backed up to a separate file with the volume group name, which is stored in the / etc/lvm/backup directory.
Syntax format: vgcfgbackup [parameter] [volume group name]
Common parameters:
Reference example
Backup the metadata for the volume group vg_linuxcool:
[root@linuxcool ~] # vgcfgbackup vg_linuxcool
Display backup details:
[root@linuxcool] # vgcfgbackup-v vg_linuxcool
Specify the backup file:
[root@linuxcool ~] # vgcfgbackup-f vg_001 above is to back up all the contents of the volume group descriptor area using linux's vgcfgbackup command. Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!