This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| docu:csheet:sysadm:disks:lvm_backup_restore [2020/07/11 11:50] – admin | docu:csheet:sysadm:disks:lvm_backup_restore [2020/07/11 11:52] (current) – admin | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| \\ | \\ | ||
| This command is automatically done everytime the LVM volume group changes, so you don't really have to schedule this command, but if you want to make sure you have a **fresh backup** of the LVM volume group, you can use: | This command is automatically done everytime the LVM volume group changes, so you don't really have to schedule this command, but if you want to make sure you have a **fresh backup** of the LVM volume group, you can use: | ||
| - | <code bash> | + | <code bash> |
| + | vgcfgbackup Your-Volume-Group-Name | ||
| + | |||
| + | # or setting the output file | ||
| + | vgcfgbackup -f / | ||
| + | </ | ||
| \\ | \\ | ||