Tutorials  /  Linux Basics

A Comprehensive Guide to Creating Snapshots in Hyper-V

Ccentron Redaktion · June 2024 ·4 min read ·Linux Basics, Tutorial

In today's IT world, virtualization platforms like Hyper-V are indispensable for creating flexible and efficient infrastructures. One of the most useful features in Hyper-V is the ability to create snapshots (also known as checkpoints). Snapshots allow you to save the state of a virtual machine (VM) at a specific point in time and restore it as needed. In this blog post, we give you a Comprehensive Guide to Creating Snapshots in Hyper-V.

What are Snapshots in Hyper-V?

Snapshots are snapshots of the status of a virtual machine at a specific point in time. They contain information about the memory, disks, and configuration of the VM. Snapshots are useful for various purposes, including:

  • Backup and Recovery: They enable quick recovery of the VM to a previous state.
  • Testing and Upgrades: Developers and administrators can test changes to a VM without worrying about permanent impacts.
  • Troubleshooting: In case of problems, snapshots can help quickly revert to a working state.
VM

Matching infrastructure at centron

No hardware needed to follow along: ccloud³ VMs with full root access start at €3.12 per month, billed by the hour and ready in seconds. Rent a cloud server →

Steps to Create Snapshots in Hyper-V

Here is a step-by-step guide to creating snapshots in Hyper-V:

Step 1: Open Hyper-V Manager

Open the Hyper-V Manager on your Windows Server or Windows 10/11 system. This can be done by searching for "Hyper-V Manager" in the Start menu.

Step 2: Select Virtual Machine

Select the virtual machine for which you want to create a snapshot. This is done in the left pane of the Hyper-V Manager, where all available VMs are listed.

Step 3: Create Snapshot

Right-click on the selected VM and choose the "Checkpoint" option (in older versions "Snapshot") from the context menu.

Step 4: Name the Snapshot

Give the snapshot a meaningful name. This helps you identify the snapshot more easily later. It is also possible to add a description to capture more details about the state or purpose of the snapshot.

Step 5: Confirm Creation

Confirm the creation of the snapshot. The Hyper-V Manager will show the progress, and after a short time, the snapshot will be created and displayed in the manager.

Managing and Restoring Snapshots

Once a snapshot is created, you can perform various actions:

Apply Snapshot

To revert a VM to a specific snapshot, right-click on the snapshot in the Hyper-V Manager and select "Apply". The VM will then be reverted to the state saved at the time the snapshot was created.

Delete Snapshot

If you no longer need a snapshot, you can delete it to save space. Right-click on the snapshot and choose "Delete Checkpoint" (in older versions "Delete Snapshot").

Export Snapshot

Snapshots can also be exported for use on other systems or as an additional backup measure. To do this, select the VM and then choose "Export" from the action menu.

Best Practices for Using Snapshots

  • Regular Snapshots: Create snapshots regularly before making important changes or updates to the VM.
  • Monitor Storage: Snapshots require additional storage space. Regularly delete snapshots that are no longer needed.
  • Add Descriptions: Use the option to add descriptions to document the purpose and details of the snapshot.
  • Test Before Production: Use snapshots to test changes and updates in a safe test environment before applying them to production.

Conclusion

Snapshots in Hyper-V provide a powerful method for backing up and managing the state of virtual machines. By easily creating and managing snapshots, administrators and developers can work more efficiently and minimize risks. By following the steps and best practices described above, you can harness the full potential of snapshots in Hyper-V.

Are you not yet using Hyper-V or need a team of experts by your side? Contact us now and schedule a free and non-binding initial consultation.

If you want to learn more about our offer for migrating from VMware to Hyper-V, click HERE to go to the respective page.

Jetzt 200 € Guthaben sichern

Testen Sie Ihr Setup auf ccloud³

Registrieren Sie sich in der ccloud³ und erhalten Sie 200 € Startguthaben für Ihr Projekt – z. B. für eine PostgreSQL-VM mit automatischen Backups.

centron Redaktion Technische Redaktion

Das Redaktionsteam von centron schreibt Anleitungen aus dem Betriebsalltag: getestet auf unserer eigenen Plattform, betrieben im Rechenzentrum in Hallstadt bei Bamberg.

Kategorie Linux Basics
Teilen
Noch offene Fragen?

Our team will help you with your specific setup - in German or English, by people who run the platform themselves.

War dieses Tutorial hilfreich?

Your answer is stored anonymously and helps us improve our tutorials.

Kommentare

No comments yet - be the first to ask a question about this tutorial.

Sign in to comment

Comments are open to centron customers. Sign in to your account to ask a question about this tutorial.

Weiterlesen

Das könnte Sie auch interessieren

Jetzt kostenlos anfangen

Melden Sie sich an und erhalten Sie in den ersten 60 Tagen ein Guthaben von 200 € bei centron.

Dieses Werbeangebot gilt nur für neue Konten. Angebot ausschließlich für Gewerbetreibende.

Jetzt loslegen Sales kontaktieren