Translated message

A translation of this page exists in English.

Warning message

This translation is outdated. For the most up-to-date information, please refer to the English version.

Cómo crear un snapshot de una máquina virtual KVM?

Solution Unverified - Updated -


  • Red Hat Enterprise Linux 6

  • KVM Virtualization Platform


Cómo crear un snapshot de una máquina virtual KVM?


  • En Red Hat Enterprise Linux 6, ofrecemos una herramienta para crear snapshots de máquinas virtuales KVM. Tenga en cuenta que la instantánea debe basarse en disco de tipo qcow2.

1. Instalar paquete qemu-img.

  # yum install qemu-img

2. Antes de crear un snapshot para una maquina virtual por favor apague la primeramente.

  # qemu-img snapshot -c [tag-of-snapshot] [path-to-vm-image]

Por ejemplo, Deseo crear un snapshot despues de la configuracion de DHCP service:

  # qemu-img snapshot -c rhel61_with_dhcp_done /data/vm-images/rhel61.img

3. Aplicar un snapshot (regresar el estado salvado del disco). Use la option -l option para checar snapshots que tenemos ahora:

  # qemu-img snapshot -l [path-to-vm-image]

Entonces elija aplicar el snapshot a la vm.

  # qemu-img snapshot -a [tag-of-snapshot] [path-to-vm-image]
  • Component
  • kvm

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.