page hit counter
Welcome to MSDN Blogs Sign in | Join | Help

Taylor Brown's Blog

Test Lead for Windows Core OS Division on the Hyper-V Team.

Syndication

News

Welcome to the professional blog of Taylor Brown.  I am a test lead on the core virtualization team (Hyper-V) at Microsoft.

This blog will contain information about virtualization, Microsoft, Hyper-V, operating systems, testing, and whatever else I end up talking about...

 

Standard Microsoft Disclaimer:
"This posting is provided "AS IS" with no warranties, and confers no rights. You assume all risk for your use."

-Taylor Brown


Backing Up Hyper-V Virtual Machines Using Windows Server Backup
imageOver the last few months I have gotten a lot of questions about backing up Hyper-V virtual machines… Do you run the backup software in the virtual machine or on the parent or do you just “snapshot” the virtual machine?  Some of the confusion has come from that last question – SAN’s (large disk arrays) have had a concept of a “snapshot” for quite a while, it’s basically the same concept as a virtual machine snapshot you can tell the SAN to snapshot a running volume and then you can do things like revert back to that point or move that data to another SAN or make a new volume based on that etc…  Windows introduced a technology called VSS or Volume Shadow Service that can communicate with these SAN’s and tell them “hey some backup app wanted a snapshot please take one”, VSS also introduced a method where applications like SQL or Exchange can register to be informed when a back up is going to take place and participate in that process.  This has spawned the world of application aware and hardware aware backups where you can backup a running server while the applications are running directly to hardware.  Then latter you can restore specific parts of those applications to the same of a different server such as a single SQL table or a single Exchange mailbox.

So that’s all well in good what about Hyper-V?  Hyper-V has support to VSS built in – so if your backup software is VSS enabled when you request a backup of a the physical (parent/host) server Hyper-V will forward those requests to each virtual machine (requires integration components and OS VSS support) then the guest will forward the request to any VSS aware application.  In the end what you end up with is a back up of the parent/host will backup any virtual machines on that server and allow you to restore them individually or as a group.

Caption: After doing a backup using Windows Server Backup – I can now restore a specific virtual machine… I am showing the backup contains the ID’s of all the VM’s for the Hyper-V “application”…  (see the post by Rob Hefner linked to below to enabled Hyper-V in WSB)

 

 References

-How to enable Windows Server Backup support for the Hyper-V VSS Writer
    Rob Hefner (Support Escalation Engineer for Hyper-V) wrote a great post on enabling support for the Hyper-V VSS writer for Windows Server Backup.  This is a very helpful article!  
    Make sure you have the “Windows Server Backup” feature enabled or you won’t be able to create the registry key…

-Backup and Recovery Overview - TechNet

-Step-by-Step Guide for Windows Server Backup in Windows Server 2008 – TechNet

 

Taylor Brown
Hyper-V Integration Test Lead
http://blogs.msdn.com/taylorb

clip_image001

Published Wednesday, August 20, 2008 8:25 PM by taylorb

Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# send flowers » Backing Up Hyper-V Virtual Machines Using Windows Server Backup @ Wednesday, August 20, 2008 11:41 PM

PingBack from http://hubsfunnywallpaper.cn/?p=1612

send flowers » Backing Up Hyper-V Virtual Machines Using Windows Server Backup

# re: Backing Up Hyper-V Virtual Machines Using Windows Server Backup @ Thursday, August 21, 2008 4:02 AM

Taylor,

I recently had the need to program backups of a certain Hyper-V configuration. The VM was running on a server abd we needed to make copies of it, from time to time, to another one. Yes, we should have used a SAN, but the client refused to.

So we checked Windows Server Backup but we came up with the surprise that it only backs up complete volumes, we found no way to tell it to copy a single folder. Does that option exist? Could you point us how?

Thanks in advance.

oreidomar

# re: Backing Up Hyper-V Virtual Machines Using Windows Server Backup @ Friday, September 05, 2008 10:54 PM

"After doing a backup using Windows Server Backup – I can now restore a specific virtual machine… I am showing the backup contains the ID’s of all the VM’s for the Hyper-V “application”…  "

How are you accomplishing that?

 

==========================================================
When the backup is requested by the backup application it calls our VSS listner that knows about all virtual machines and performs that backup.

 -Taylor

Johnny

# Hyper-V QFE Released For VSS Enabled Backup Issue @ Tuesday, September 09, 2008 7:07 PM

If you use Windows Server Backup or any other VSS aware backup utility you should make sure and pick

Taylor Brown's Blog

# Hyper-V How To: Backup @ Wednesday, May 27, 2009 3:50 AM

Tony Soper: The matrix of considerations for backup and DR for Hyper-V is not simple, for example there are several methods to backup running VMs such as Windows Server Backup, DPM, diskshadow.exe, as well as non-Microsoft solutions such as Symantec Backup

HyperVoria

Leave a Comment

(required) 
required 
(required) 
Page view tracker