Hi,
first i will explain my experiment :
We have ESX server running virtual machines .We want to migrate to XEN. As i did not found any tool for transfering ESX to for example real server, or better to XEN --> please correct me if i am wrong , i found following approach :
i will inside virtual machine on ESX boot from Live-CD of CentOS , using dd i will transfer images trought scp to CentOs machine with xen. I believe this one should work, machines on ESX are Windows2003 Servers. So what i need to find is how to write a command which will transfer image trought scp , but for faster transfer also compress it before using tar, or gzip.
*so my input will be dd if=/dev/sda1 , my output will be gzipped or tarred image on second side. sda1.img.gz* ** Thanks in advance!
D.
David Hlác(ik wrote:
*so my input will be dd if=/dev/sda1 , my output will be gzipped or tarred image on second side. sda1.img.gz* **
I haven't had a chance to test this, but something like:
dd if=/dev/sda1 | gzip | ssh user@host /tmp/somescript
And /tmp/somescript on 'host' can be something like: gunzip | dd of=/dev/sdb1