Skip to content

LVM

LVM create snapshot backup

lvcreate --name snap-backupro --size 200G -s /dev/volgroup/volname
mount -o nouuid /dev/volgroup/snap-backupro /mnt/backupdir
rsync -a --no-perms --no-owner --no-group --delete /mnt/backupdir/ "root@destination.server:/backup/latest"
umount /mnt/backupdir
lvremove -f volgroup/snap-backupro