Windows

How to create a snapshot in Hyper-V

Introduction

The ability to create snapshots is one of the best reasons for dividing your workloads into different virtual servers.  If a specific service crashes, you can quickly restore it to a previously known setup with very little effort.

I especially appreciate this feature when running a training class.  I can create a snapshot of a VM prior to class, then teach students how to perform certain functions hands on.  In the event something goes catastrophically wrong (and it will!), simply restore the machine to the exact condition it was in when the snapshot was originally created!

Multiple snapshots can be created per virtual machine, so it is possible to restore a VM to any state you had created a snapshot for.

 

How to create a snapshot

Open the Hyper-V Manager

How to open the Hyper-V Manager

Open the Hyper-V Manager

Start > Administrative Tools > Hyper-V Manager

cvm-1

 
 

Select the Virtual Machine

Once inside Hyper-V Manager, click the server name in the left column under “Hyper-V Manager”, then click on the desired virtual machine. For our example, we will create a snapshot for the Virtual Machine named “Jump”.

Notice that in the center column under “Snapshots” there are no current snapshots available. Once you have created a snapshot, it will be listed here.

 
snap-1

 

Create the snapshot

In the far-right column under the name of the VM you have selected, click “Snapshot”

snap-2

 

Snapshot created

After the snapshot is created, you will see it listed in the center column under “Snapshots” (Underlined in Yellow)

The amount of time it takes to create the snapshot will vary depending on the workload of the VM and the amount of disk space it uses. Our sample VM is a simple Windows machine with just the basic operating system installed. Even so, this took several seconds to complete.

snap-3

 

Rename the snapshot (Optional)

By default, the snapshot will be named with the VM name, the date and the time the snapshot was taken, however you are more than welcome to change this.

To change the name of the snapshot, simply right click on the snapshot, then select “Rename…”

snap-4

 
Enter the new name, which often will have more meaning than just the date and time, and press Enter

For our example, I have chosen “Fresh Windows Installation” for the snapshot’s name. If anything happens, I know I can return to this snapshot and have a fresh installation ready to go at a moments notice!

snap-5

 

Creating additional snapshots

You can create as many snapshots as you disk space to allow for. Simply repeat the steps outlined above. Each subsequent snapshot will appear under the current snapshot where you see -> Now displayed.

By admin on April 29, 2014 | Hyper-V | A comment?

How to install Hyper-V in Windows 2008

This guide will show you the steps required to install the Hyper-V Role on a Windows Server. While this guide was created using Windows 2008 DC Edition, the steps should work for any Windows 2008 Server.

More…

By admin on April 12, 2014 | Hyper-V, Windows | A comment?

How to configure Windows 2008 VM to connect to the Internet

This guide is deigned to help you get a freshly installed Windows 2008 Web Edition virtual machine to connect to the Internet. While the focus of the guide is related to virtual machines, the concepts involved also apply to fresh installs for dedicated servers as well. More…

By admin on February 13, 2014 | Windows | A comment?

Create a CSR Request in IIS 7

Here is a great site that includes a video and step by step instructions for generating a CSR (Certificate Signing Request) in Windows IIS 7

http://www.digicert.com/csr-creation-microsoft-iis-7.htm

By admin on October 9, 2013 | IIS | A comment?

Getting started with IIS 7.x

How to setup IIS for the first time

This article assumes you have already purchased a domain and pointed the DNS to your Window’s server IP.  Setting up DNS is outside of the scope of this article.  If you need to setup DNS, you might want to read this article first.

This how-to explains how to setup IIS 7.x for your first website.  It assumes you have already installed IIS on your system.

 

Start the Internet Information Services (IIS) Manager (Start > Internet Information Services (IIS) Manager) More…

By admin on September 29, 2013 | IIS, Windows | A comment?