Yep - there's a command called "vmrun" that should allow you to shutdown or suspend the VM's and start them back up. You can also list all of the running VMs with this command, so you should be able to cook up a script that lists the running VMs, parses the output and sends it back to the vmrun command to suspend them, and then starts them back up when the backup routine finishes.
Thanks so far.
Reading this (a saw the first link before), but this is a bit disappointing.
It looks we have to cook a huge and difficult script for a simple task like stopping and starting guests........
(and in between run a backup to tape job).
The point is, that somebody else has ALREADY written that script - see the thread I linked to earlier - all you have to do is run it.
Correct me if I am wrong:
Lets say we have a cron job running a batch file overnight:
and that batch file would do the following,
\- vmware-cmd to suspend the virtual-machine,
\- copy operation of the whole folder where-ever you want to get your copy at..
\- vmware-cmd to resume the virtual-machine.
That sounds fairly simple for me. It is one of my next assignments.
Bigtime I'll let you folks know if I can get it to work \*my way*
Yep, you are right, thats what we do with Microsoft Virtual Server, 2 cmmand files (one pre and one post backup) , each only 3 or 4 lines of code.....