How to create a snapshot volume to a remote server?
Posted
by
Purres
on Server Fault
See other posts from Server Fault
or by Purres
Published on 2014-08-20T22:17:33Z
Indexed on
2014/08/20
22:21 UTC
Read the original article
Hit count: 316
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?
© Server Fault or respective owner