4.4. 逻辑卷备份
Metadata backups and archives are automatically created on every volume group and logical volume configuration change unless disabled in the
lvm.conf file. By default, the metadata backup is stored in the /etc/lvm/backup file and the metadata archives are stored in the /etc/lvm/archive file. How long the metadata archives stored in the /etc/lvm/archive file are kept and how many archive files are kept is determined by parameters you can set in the lvm.conf file. A daily system backup should include the contents of the /etc/lvm directory in the backup.
注意:元数据备份并不包含逻辑卷中的用户和系统数据。
You can manually back up the metadata to the
/etc/lvm/backup file with the vgcfgbackup command. You can restore metadata with the vgcfgrestore command. The vgcfgbackup and vgcfgrestore commands are described in 第 5.3.13 节 “备份卷组元数据”.