On 6 November 2010 02:24, Eric S. Johansson wrote:
> ... I'm trying
> to figure out how to shut everything down using vboxctrl in a batch file ...

You may be able to use vboxctrl, but VBoxManage does what you need also:

"%VBOX_INSTALL_PATH%VBoxManage.exe" controlvm "VMName" savestate

... will save the state of a VM, and shut it down (like Windows hibernate).

Backup everything (including the machine snapshot folder, which will
contain the *.SAV save state file created above).

Restore/restart VMs with:

"%VBOX_INSTALL_PATH%VBoxManage.exe" startvm "VMName"

... which will restart them from the saved state file (and then delete
the file).

Have a google for "windows volume shadow copy" and you may be able to
minimise the time that the VMs are down, and do the backup with them
back up.

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
VBox-users-community mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vbox-users-community

Reply via email to