• RSS
  • Twitter
  • FaceBook

Jason Conger Blog RSS

All Blogs  »  Jason Conger Blog  »  News Virtualization Tips & Tricks  »  Blog article: Backing up Running Hyper-V VMs with Windows Server Backup

Backing up Running Hyper-V VMs with Windows Server Backup

With Microsoft Virtual Server 2005, it was impossible to back up running VMs with the built in NTBackup utility. Instead, Virtual Server 2005 SP1 introduces a VSS Writer that backed up virtual disks. However, NTBackup was still not supported in Virtual Server 2005.

With the introduction of Windows Server 2008 Hyper-V, the NTBackup limitation is gone. However, the removal of the NTBackup limitation is not something that is automatically available. There is a trick to get NTBackup to work with Hyper-V virtual machines. You have to tweak the registry to register the Microsoft Hyper-V VSS writer with Windows Server backup. Note that there are some backup/restore limitations referenced in the Microsoft Support article. Virtualization.info gives us some more potential limitations including:

  • WSB only supports volume based backups: if the VM configuration file and the actual virtual hard drive (.VHD) are stored in different volumes, all volumes must be selected.
    Conversely, when performing a recovery from backup, the entire volume or volumes must be restored.
  • Live backup is not supported for those VMs that have dynamic disks. In such case only offline backups can be performed.
  • If the VM has more than one snapshot the restore will fail
  • Live backup is unavailable for those guest OSes that don’t support VSS, like Windows 2000 or XP, as well as those guest OSes that don’t have the Hyper-V Integration Services installed. In such cases WSB will put the VM in a saved state, backup the snapshot, and finally restore the VM.


Technorati : , , , ,
Del.icio.us : , , , ,
Ice Rocket : , , , ,

2 Responses to “Backing up Running Hyper-V VMs with Windows Server Backup”

  1. Tony Says:

    August 25th, 2009 at 3:10 am

    With ViceVersa PRO you can backup hyper-v machines very easily: http://www.tgrmn.com/web/entry/filebackup-hyper-v.htm

  2. Dinko Says:

    February 10th, 2011 at 4:39 pm

    Hi,

    Every now and then I use EasyBackup for Hyper-V (http://www.hyperveasybackup.com). It deals with some of the limitations of Windows Server Backup such as backing up entire volume only. It is also very affordable and is perfect for small shops with one or two hyper-v servers.

Leave a Reply


Receive all the latest articles by email!

Receive Real-Time & Monthly VirtualizationAdmin.com article updates in your mailbox. Enter your email below!

Become a VirtualizationAdmin.com member!

Discuss all your Virtualization issues with thousands of other experts. Click here to join!