Print

Restoring a snapshot for KVM

About this task

Use this procedure to return to the memory, settings and state of the virtual machine to the state when you took the snapshot. The power and data states of the virtual machine return to the state when you took the parent snapshot.

importantImportant

Do not perform any activity on the virtual application until the snapshot restoration is complete.

Before you begin

Verify with the system administrator that the required privilege Virtual machine.State.Revert to snapshot is available on the virtual machine

Procedure

  1. Log in to the KVM host with root permissions.
  2. At the console, type virt-manager.

    The system displays the Virtual Machine Manager GUI.

  3. Type 2 for CLI mode.
  4. Shutdown the VM by using the virsh shutdown KVM-SBCE-7.2 command.

    The system shuts down the KVM-SBCE-7.2 instance.

  5. Restore the snapshot, using the virsh snapshot-revert KVM-SBCE-7.2 command.

    #virsh snapshot-revert KVM-SBCE-7.2 <name of the snapshot>

    The system restores the specified snapshot.