[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Migrate a domU



Yes i can stop domUs but i don't know about dd over ssh :(
Is anyone has examples of this command ?

do it like this (change values of "if" and "remotehost" and "of"):

dd if =/dev/hdb3 | ssh remotehost dd of=/home/xen/domU.disk


or use tar + ssh:

Create and mount your domU image on the target server.

Create a file /tmp/exclude-list and specify all directories you don't want to copy over, e.g. /dev, /proc, /sys ...
Then do

cd /
tar –c -z --numeric-owner –X /tmp/exclude-list –f - * |
ssh remotehost “cd /mnt; tar –x –z- -p –f –“


Bye,
Andrej

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.