ObjectiveThe objective is to first export XenServer's virtual machine into a regular backup file and later import a new virtual machine from the previously generated backup file.
RequirementsPrivileged access to XenServer's command line.
Identify VM's UUIDWe start by identifying a virtual machine we would lake to export to as a regular backup file. Run
xe vm-list to list all available virtual machines and take a note of the virtual machine in question:
# xe vm-list
uuid ( RO) : 7371124f-7d4d-66b7-cbc7-a98b1457543e
name-label ( RW): Debian Jessie 8.5
power-state ( RO): halted
uuid ( RO) : bad8e456-df88-435d-ba12-3f0f6e54b2c6
name-label ( RW): Control domain on host: xenserver
power-state ( RO): running
Read more ...