Link to home
Create AccountLog in
Avatar of ar_narayanan
ar_narayananFlag for United States of America

asked on

Exporting & Importing a VM Template

I have created a VM template using VCenter in my ESX server.

I want to export this template and store it in the file system and then import it to a different ESX server.

Is this doable?

Using OVF format is one option, but is there a different approach? VMWare Convertor can help? If so does it expose a SDK so I can do some automation?
Avatar of Paul Solovyovsky
Paul Solovyovsky
Flag of United States of America image

couple different ways of doing this, the easiest one is to browse datastore browser, copy the template VM folder.  Once copied to USB, etc.. use the new ESX host to upload back to a datastore.  In vCenter browse to the vmtx file and click "register VM"

you're set from there.
or you could convert template to virtual machine, and use converter to transfer to destination esx server.
Avatar of ar_narayanan

ASKER

How about if I want to be able to automate this. Does SDK has support to copy files out of the data store to the file system and upload it to a different ESX server?
ASKER CERTIFIED SOLUTION
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer