Print

Creating a snapshot for KVM

About this task

Use the following procedure to create a snapshot for the virtual machine(VM) KVM-SBCE-7.2.

Before you begin

cautionCAUTION

Do not perform any activity on KVM until the snapshot backup is complete. Snapshots operations can adversely affect service.

It is recommended that VM is suspended or shut down to take a clean snapshot.

Verify with the system administrator that the required privilege virtual machine.State.Create 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. Take the snapshot by using the virsh snapshot-create KVM-SBCE-7.2 command.
  6. Enter a name to identify the snapshot.
  7. View the snapshot, using the virsh snapshot-list KVM-SBCE-7.2 command.

    The system displays the Name, Creation Time and the State of the snapshot.