Criar uma snapshot (EN)

Return to a previous VM state using snapshots

Last updated 19th January 2022

Objective

VMware offers the ability to take snapshots so you can save and possibly go back to a VM's previous state.

This guide explains how to execute these tasks

Requirements

Instructions

Take a Snapshot

A snapshot allows you to capture a VM state.
It offers a layer of protection for your VM prior to executing changes as it offers the ability to come back to that state if needed.

In the vSphere interface menu, go to the Hosts and Clusters dashboard.
Navigate to your VM, right-click it and, in the Snapshot menu, select Take Snapshot.

TAKE

By default, the snapshot will be named after the current date and time. You may edit it to your preference.
A description may also be added for reference.
If your VM is running, the snapshot process offers two options:

  • Snapshot the virtual machine's memory. This will save the VM Ram state, helping with certain applications that may not have commited changes to disk. It should also make your snapshot crash-resistant, meaning it can be reverted to without powering off the VM.
  • Quiesce guest file system (Needs VMware Tools installed). This will bring your VM to a state that is backup suitable: clearing buffers, committing changes to disks...

If your VM is not running, those options are greyed out.
We recommend taking snapshots of a turned off VM and if it is not possible, preferably use the Quiesce option over the memory snapshot for added security.

Click OK when ready.

SNAP

Your snapshot is done.

Manage Snapshots

You can take multiple snapshots of a single VM repeating the process explained above.
With time, snapshots will consume resources, especially storage, to be maintained and possibly will affect VM performance.
Below is how to revert, clear or consolidate snapshots.

Revert to Snapshot

In the vSphere interface menu, go to the Hosts and Clusters dashboard.
Navigate to your VM, right click on it and in the Snapshots menu, select Manage Snapshots.

MANAGE

Check the snapshot tree and select the one you wish to go back to.
Click on Revert To.

REVERT

Confirm by clicking OK.

CONFIRM

You can click Done as your VM has been reverted to the point chosen.

If you only have a single snapshot or wish to revert to the last taken snapshot, you can speed up the process by choosing Revert to Latest Snapshot in the Snapshots menu.

Clear Snapshot

In the vSphere interface menu, go to the Hosts and Clusters dashboard.
Navigate to your VM, right click on it and in the Snapshots menu, select Manage Snapshots.

MANAGE

Check the snapshot tree and select the one you wish to delete.
Click on Delete.
You can also clear all snapshots by clicking Delete All.

DELETE

Confirm by clicking OK.

CONFIRM

You can click Done as your snapshot was cleared.

If you wish to clear all snapshots, you can speed up the process by choosing Delete All Snapshots in the Snapshots menu.

Consolidate snapshots

Snapshot consolidation is useful when snapshot disks fail to compress after a delete operation. After consolidation, redundant disks are removed, improving virtual machine performance and saving storage space.

In the vSphere interface menu, go to the Hosts and Clusters dashboard.
Navigate to your VM, right click on it and in the Snapshots menu, select Consolidate.

CONSOLIDATE

Confirm by clicking YES.

CONFIRM

You can find more information about consolidation on the VMware documentation.

Go further

Join our community of users on https://community.ovh.com/en/.


Esta documentação foi-lhe útil?

Não hesite em propor-nos sugestões de melhoria para fazer evoluir este manual.

Imagens, conteúdo, estrutura... Não hesite em dizer-nos porquê para evoluirmos em conjunto!

Os seus pedidos de assistência não serão tratados através deste formulário. Para isso, utilize o formulário "Criar um ticket" .

Obrigado. A sua mensagem foi recebida com sucesso.


Estes manuais também podem ser úteis...

OVHcloud Community

Aceda ao seu espaço comunitário. Coloque as suas questões, procure informações e interaja com outros membros do OVHcloud Community.

Discuss with the OVHcloud community

Em conformidade com a alteração à Diretiva 2006/112/CE, os preços com IVA podem variar de acordo com o país de residência do cliente
(por defeito, os preços com IVA apresentados incluem o IVA português em vigor).