Friday, May 7, 2010

Virtualization: Saving & Restoring VM

Click Here For Free Windows Downloads
mywindowsdownloads.blogspot.com

Click here for all Free Linux Downloads



Blog address for Linux in Hindi

Saving a Virtual Machine

You can use virsh to save the current state of a virtual machine to a file:

virsh save [domain-name][domain-id | domain-uuid][filename]

This stops the virtual machine you specify and saves the data to a file, which may take some time given the amount of memory in use by your virtual machine. You can restore the state of the virtual machine with the restore option .

Restoring a Virtual Machine

You can use virsh to restore a virtual machine that you previously saved with the virsh save option :


virsh restore [filename]

This restarts the saved virtual machine, which may take some time. The virtual machine's name and UUID are preserved but are allocated for a new id.

No comments:

Post a Comment