15.6. Saving a Virtual Machine

15.6. Saving a Virtual Machine

15.6. 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 .