[libvirt] saving virtual machine state when rebooting the server machine

Itamar Reis Peixoto itamar at ispbrasil.com.br
Tue Feb 10 20:16:17 UTC 2009


is possible to save virtual machine state when rebooting the server machine ?


https://help.ubuntu.com/8.04/serverguide/C/libvirt.html


The state of virtual machines can be saved to a file in order to be
restored later. The following will save the virtual machine state into
a file named according to the date:

virsh -c qemu:///system save web_devel web_devel-022708.state



Once saved the virtual machine will no longer be running.
A saved virtual machine can be restored using:

virsh -c qemu:///system restore web_devel-022708.state




-- 
------------

Itamar Reis Peixoto

e-mail/msn: itamar at ispbrasil.com.br
sip: itamar at ispbrasil.com.br
skype: itamarjp
icq: 81053601
+55 11 4063 5033
+55 34 3221 8599




More information about the libvir-list mailing list