OVF Tool (EN)
Find out how to export or import virtual machines using the OVF Tool
Find out how to export or import virtual machines using the OVF Tool
Last updated 31/01/2022
OVFTOOL is an export/import tool for VMs using the OVF format (compatible with Windows, Linux and Mac).
This guide offers a step by step study case on how to use this tool.
We will use the OVFTOOL v4.0 under Linux Debian.
Use the ovftool --help
command to see the application help file and ovftool --help examples
for examples.
We will proceed with an export of an .ovf virtual machine in pcc-37-187-228-180.ovh.com called SQL3.
Before the export, shut the VM down using the vftool powerOffSource
command as shown below.
In the vCenter recent tasks, you can see the VM being shut.
We can now export the VM. Type in the following command:
ovftool vi://user:password@Dedicatedcloud/datacentre/vm/vmname /destination
Export happens and is successful.
To convert an .OVF file into a .VMX one, use the ovftool -tt=vmx file.ovf /destination/
command.
To import the VM in your infrastructure, you need to indicate the destination datastore ovftool -ds=datastore file.ovf
The virtual machine is now deployed in your environment.
Finally, migrating SQL3 to a new Hosted Private Cloud (transfer does not require a third party machine).
Join our community of users on https://community.ovh.com/en/.
Si lo desea, también puede enviarnos sus sugerencias para ayudarnos a mejorar nuestra documentación.
Imágenes, contenido, estructura...: ayúdenos a mejorar nuestra documentación con sus sugerencias.
No podemos tratar sus solicitudes de asistencia a través de este formulario. Para ello, haga clic en "Crear un tíquet" .
¡Gracias! Tendremos en cuenta su opinión.
¡Acceda al espacio de la OVHcloud Community! Resuelva sus dudas, busque información, publique contenido e interactúe con otros miembros de la comunidad.
Discuss with the OVHcloud community