|
|
|
|
|
|
|
|
|
|
xen-users
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
|
|
|
|
|