VMware Cloud Community
bakkere
Contributor
Contributor

Backup script for ESX3i

What I am basically looking for is a script to shut down or suspend the vm because its a domain controller with exchange. A live copy does damage the exchange database. I am now using vmware server 2.0 rc1 and I have a script that uses vmrun to suspend and copy the vm. After that Backup exec backups the vm to tape. And all of this is scheduled of course.

However I do not know how to manage that with ESX3i. Anyone?

Thanks for letting me know.

Tags (1)
Reply
0 Kudos
3 Replies
englund
Contributor
Contributor

Use Powershell and VI Toolkit found at http://www.vmware.com/download/sdk/

The scripting looks pretty much the same.

Reply
0 Kudos
dconvery
Champion
Champion

If you are using the non-free version of ESXi, you could try VCB. The latest version incorporates VSS for quiescing in W2K3 and will give you an apllication consistent backup.

Dave

Dave Convery, VCDX-DCV #20 ** http://www.tech-tap.com ** http://twitter.com/dconvery ** "Careful. We don't want to learn from this." -Bill Watterson, "Calvin and Hobbes"
Reply
0 Kudos
wila
Immortal
Immortal

The equivalent command of vmrun on ESX would be vmware-cmd.

You can use it like vmware-cmd <vmx-file> suspend

Execute the vmware-cmd command without parameters to see the help.

You'll need the remote console in order to execute commands (haven't had the time to test this for ESX3i myself, but would expect it to work)

--

Wil

| Author of Vimalin. The virtual machine Backup app for VMware Fusion, VMware Workstation and Player |
| More info at vimalin.com | Twitter @wilva
Reply
0 Kudos