Avatar of ar_narayanan
ar_narayanan
Flag 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?
VMwareVirtualization

Avatar of undefined
Last Comment
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

8/22/2022 - Mon
Paul Solovyovsky

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.
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

or you could convert template to virtual machine, and use converter to transfer to destination esx server.
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?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question