Hello! On Tue, Jan 6, 2009 at 5:19 AM, Andreas Höschler <ahoe...@smartsoft.de> wrote: > Hi all, > > is it possible to pause a virtual machine by means of a script? I would > like to create a cronjob that pauses a virtual machine, copies the vdi > file to a backup host and then resumes the virtual machine. I checked > the documentation but found no suitable parameter for VBoxManage!?
'VBoxManage controlvm' does it. So, you would do: VBoxManager controlvm <fooVM> pause. Also, you can save the state, etc, like: a...@cor1ucopic ~Tue Jan 0608:47:54> VBoxManage controlvm lenny savestate VirtualBox Command Line Management Interface Version 2.1.0 (C) 2005-2008 Sun Microsystems, Inc. All rights reserved. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% HTH. Thanks for asking the question. I learnt a new trick :-) Best, Amit > > Thanks a lot, > > Andreas > > > _______________________________________________ > vbox-users mailing list > vbox-users@virtualbox.org > http://vbox.innotek.de/mailman/listinfo/vbox-users > -- Amit Kumar Saha http://amitksaha.blogspot.com http://amitsaha.in.googlepages.com/ Skype: amitkumarsaha _______________________________________________ vbox-users mailing list vbox-users@virtualbox.org http://vbox.innotek.de/mailman/listinfo/vbox-users