10
3
I am using VirtualBox on Windows.
Is there a way to make a script that will close the VM and "save the state"? Or even just tell the VM to shutdown?
Non-sequitur:
- I know you can open the VM from the command line because I have a shortcut to open the VM. And so I can just call the shortcut from the command lien.
- The reason I ask is because my backup software has a pre-backup/post-backup command line option. So I would like to use the command line to save the state of the VM. Then backup the VM. Then use the command line to start the VM.
I created two batch file scripts each with one line. The "pre" batch file saves the sate of the VM. Then the backup copies the VM files. Then the "Post" batch file restores the VM. – Trevor Boyd Smith – 2011-08-01T14:56:11.113