Creating a snapshot

Find out how to return to a previous status of your VM using snapshots

Last updated 28th July 2020

Objective

You can take a snapshot of a virtual machine. Once you have taken the snapshot, you can restore all virtual machines to the most recent snapshot or delete the snapshot.

This guide explains how snapshots work.

Requirements

Instructions

Snapshots are useful when you need to return to the same state multiple times, without creating multiple virtual machines. With snapshots, you create restore positions.

This allows you to preserve the basic state of a VM before migrating it to another type of operation.

While snapshots provide a "snapshot" image of the disk, regular erasure of the snapshots made is recommended. If you have a large number of snapshots, they will take up a lot of disk space and penalise the VM in terms of performance.

It is not advisable to use snapshots as a method of virtual machine backups.

The snapshot allows you to capture the status of your VM when you launch it. This snapshot includes (as you choose):

  • The status of all disks in the virtual machine.
  • The contents of the virtual machine's memory.

It is not possible to change the size of a disk when a snapshot is taken on a VM.

Snapshot capture

Right-click on your VM then choose Snapshots and finally Take Snapshot...:

Take snapshot

You must now specify the name you want to assign to this snapshot, its description, and if you want the VM memory to be included in the snapshot as well.

Here you can make a snapshot with or without the RAM used by the VM. If you integrate the RAM into the snapshot, this will increase the time it takes to complete the task, but it will prevent an otherwise necessary reboot when restoring the snapshot.

Without having to backup the RAM, the task will be faster, but rebooting the VM will be necessary in case of a recovery.

Configure snapshot

Snapshot management

You can find all snapshots of your VM in the snapshot manager. To do this, right-click on the VM, then choose Snapshots and finally Manage Snapshots:

Create snapshots

Deleting a Snapshot

In the snapshot manager, select the snapshot you want to delete and click Delete.

All VM snapshots can be removed in one operation by clicking Delete All.

Restoring a snapshot

In the snapshot manager, select the snapshot to restore and click Restore.

Consolidate snapshots

The presence of redundant disks can affect the performance of virtual machines.

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.

To perform a consolidation, right-click on the VM, then choose Snapshots and finally Consolidate

snapshots

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

Go further

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


Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.


These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community

In accordance with the 2006/112/CE Directive, modified on 01/01/2015, prices incl. VAT may vary according to the customer's country of residence
(by default, the prices displayed are inclusive of the UK VAT in force).