User Tools

Site Tools


docu:csheet:sysadm:disks:lvm_backup_restore

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
docu:csheet:sysadm:disks:lvm_backup_restore [2020/07/11 11:47]
admin created
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>vgcfgbackup Your-Volume-Group-Name</code>+<code bash> 
 +vgcfgbackup Your-Volume-Group-Name 
 + 
 +# or setting the output file 
 +vgcfgbackup -f /etc/lvm/backup/your_own_backup_name Your-Volume-Group-Name 
 +</code>
  
 \\ \\
Line 23: Line 28:
 lvchange -ay /dev/Your-Volume-Group-Name/lv_whatever lvchange -ay /dev/Your-Volume-Group-Name/lv_whatever
 </code> </code>
 +
 +Source: https://linoxide.com/how-tos/how-to-backup-lvm-configuration-on-linux/
docu/csheet/sysadm/disks/lvm_backup_restore.1594468025.txt.gz · Last modified: 2020/07/11 11:47 by admin