3

I've heard people say that you can back up VHD files on Windows 2008 R2 Hyper-V (non clustered) and back them up while the guest is live and running with powershell scripts. Does anyone have any experience of this they can share?

What kind of back up is it an export? A Snapshot that is made, then copied then reverted? I know there are copious pay-to-use models but this is a test environment and I simply want to know if there is a "weak but functional" way of doing it.

conners
  • 1,420
  • 4
  • 18
  • 28
  • Just an FYI - if the answers to this question don't show up here, you might want to try to move the post to server fault instead. – Chris N Aug 04 '12 at 20:38

1 Answers1

6

Definitely! Just make a VSS snapshot of the volume, mount it as a drive letter, grab the VHD files, and put them somewhere else. Here's one I wrote a few years back:

http://www.send4help.net/full-backups-of-running-hyper-v-guests-309

If I had to do it again though, I'd follow this method:

http://blogs.msdn.com/b/virtual_pc_guy/archive/2009/03/11/backing-up-hyper-v-with-windows-server-backup.aspx

It enables native-like support for Hyper-V in the default Windows Backup tool.

Enjoy!

Chris N
  • 7,239
  • 1
  • 24
  • 27
  • sounds like a plan.. so, use powershell to make a snapshot, mount it (I don't get that bit! :-D) grab the VHD files (how? :D) I like the way you say it though thanks I will get back to you once I have success! – conners Aug 08 '12 at 15:02
  • The two links above provide plenty of detail on both. Like I said, I'd go with the second method and avoid PowerShell/DiskShadow potential hackiness. – Chris N Aug 08 '12 at 15:07