How to create a snapshot volume to a remote server using kvm?
- by Purres
I want to backup a few virtual machines to a backup server. Here're the backup steps.
suspend a virtual machine
create a snapshot of the virtual machine using lvcreate -s
resume a virtual machine
dd if=/virtual_machine_path | lzop > /temp/backup.lzo
rsync /temp/backup.lzo -e "ssh " 1.2.3.4:/backup_path/
However, the hypervisor server doesn't have enough hard disk space to create a snapshot in step 2. Is there a way to create a logical volume snapshot to a remote server?