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
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.
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
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.