Hi All,

I'd like to backup VMs in active server to other backup server in case of the 
active server failure suddenly. Export the VM to a .xva file and import it 
backup server works, but it takes too much time when VDI is quite large. 
Following is the solution I am trying to do:

1. export VM's metadata file to backup server.
2. copy the related VHDs of the VM to backup server.
3. periodically do VM snapshot in active server and copy the snapshot to peer 
node. (snapshot file is much smaller, and easy for incremental backup)
4. when active server failure, restore the VM by metadata file and VHDs.

Without snapshot, we can import VM successfully by metadata and VHD from backup 
server(do some change in metadata file). But vm-import can't restore correctly 
if I copied snapshot VHDs to backup server. 

[root@xcp102 ~]# xe vm-import filename=/root/centos1-snap.meta 
sr-uuid=54394f58-d649-9e4e-8f75-33d369804a0e 
The VM could not be imported.
msg: INTERNAL_ERROR: [ Tar.Header.End_of_stream ]
[root@xcp102 ~]# 

Can someone give some help on this? I am not sure if this is a proper way for 
incremental backup.

Thanks,
Tianpeng
  
_______________________________________________
Xen-api mailing list
Xen-api@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to