Pular para conteúdo

Backup e migração de VM's VMWare

1

How to export VM from vSphere client/vCenter?

vCenter is the management tool for vSphere virtual environment. You could also log in to vCenter via vSphere client. In vCenter, you could also export and import VM using .OVF file.

1. Log in to vSphere client via web browser

2. Locate the VM and shut it down

3. Right-click on the VM, select Template, and then select Export OVF Template

4. Give a name to the exported template and click OK. The download would start immediately.

Note: Remember to allow popups (at least for this site) in browser settings or the download could not start.

How to use the OVF template to create new VM in vSphere?

The OVF template contains the data of the original VM, which could be used to create a new VM on another host like VM migration.

1. Log in to vCenter via web browser

2. When asked to select an OVF template, select Local files

3. Click Upload Files, select all the files just exported, and click Open. Click Next

4. Give a name to the new VM and select a folder for it. Click Next

5. Select a computer resource (the host) for it and click Next

6. Select the storage for it and click Next

7. Select the network for it and click Next

8. Review the task and click Finish

Sometimes exporting and deploying OVF template of large VM in vCenter will take a long time or even fail. If so, you can export and deploy OVF template with OVF Tool and this tool will also let you export OVA template with command line.

The exported OVF template is often used to create new VM or perform v2v migration between ESXi hosts. What if you would like to migrate ESXi VM to another virtualization platform like XenServer, oVirt, etc.? Because the different structures in different virtualiztion platforms, converter is needed if you would like to migrate the VM to another platform.