VMware Cloud Community
noxsertrue
Contributor
Contributor

Export virtual machines to Windows via API

Hello community,

we are using ESXi-Server 5 and VMWareWorkstation 9. Now is the question if it is possible to write a program to export a vm. We know about the vixcom-api. But with this it is not possible to export a machine.

We would like to use this as a kind of backup strategy -> exporting to windows machines.

Hope anyone could help.

With kind regards,

David

Tags (2)
0 Kudos
3 Replies
jdptechnc
Expert
Expert

Not sure I follow what you are trying to do.  Do you mean exporting the VMs from ESXi to VMware Workstation as a backup strategy?  VMware Converter can do that.

Please consider marking as "helpful", if you find this post useful. Thanks!... IT Guy since 12/2000... Virtual since 10/2006... VCAP-DCA #2222
0 Kudos
noxsertrue
Contributor
Contributor

Hello,

I know that the converter can do this. However I want this to be done automatically - so I write a program to choose which machine I want to export. I don't want to have to copy old jobs every time I have to make a backup - or is there an API for the converter?

With kind regards,

David

0 Kudos
jdptechnc
Expert
Expert

I know of no way to automate the backup of the VM into VMware Workstation.  You might find something digging around the VIX api

http://www.vmware.com/support/developer/vix-api/

The ghettoVCB script will automate backups to disk storage, which could be later imported to Workstation later.

http://communities.vmware.com/docs/DOC-8760

Why does your backup requirement include having it improt into Vmware Workstation?  Just curious.

Please consider marking as "helpful", if you find this post useful. Thanks!... IT Guy since 12/2000... Virtual since 10/2006... VCAP-DCA #2222