Hi all,
We upgraded our vmware server version from 1.09 to version 2.01 because we had some performance issues and IT management wanted to test the new version. Install was a breeze and everything is working fine since we upgraded. Here is the problem:
We had scripts running every week that closed the vm and transfer a zipped copy of the vmdk file to another location for backup purposes. To my surprise, the scripts were vbs files coded using the vmcom API. I'm not really confortable with the VIX API and can't really find the code samples i need to accomplish the conversion. I attached a copy of our script so if anyone got a VIX version or can give me some code i can use it would be greatly appreciated.
Comments are in french so here's the main fonctions:
1- Get VM state
2- Stop vm guest OS
3- Copy the vmdk to a temp folder
4- Restart the VM
5- Compress the vmdk file in a remote folder
Jeff
Attachments:
- vm_script.zip (2.9 K)