Wednesday, September 30, 2009

How to export/import a VM from/to Xenserver

Here is how you can export/import a Xenserver VM if you are using Xenserver 5.5.0.

# xe vm-export -s -u root -pw vm= filename=/root/vm1.xva
Export succeeded

To import to another machine xenserver2 :-

xe vm-import -s -u root -pw filename=/home/sabu/vm1.xva

These commands will import vm1 from xenserver1 to xenserver2.

No comments: