Solved

How to backup/restore VHD files in Windows Server 2008?

Posted on 2010-09-10
4
3,475 Views
Last Modified: 2012-05-10
How do I backup and restore a VHD file? I have Windows Server 2008 (64-bit) with Hyper-V. My WinXP virtual pc works great with the VHD file. I want to have a backup of the virtual pc. I tried to copy the VHD file to another HDD but when I copied it back to the orginal location, Hyper-V will not open the file. I installed Symantec Backup Exec System Recover (server version) and created a full system backup. When I restored the VHD file, Hypver-V will not start my virtual pc. It looks like there are some special permissions set on the VHD file that are lost in the copy/restore process. Stumped!
0
Comment
Question by:sahinman
  • 2
4 Comments
 
LVL 53

Assisted Solution

by:Will Szymkowski
Will Szymkowski earned 100 total points
ID: 33645588
I would recommend using Windows Server Backup, which is more then capable of backuping up and resotring VHD (hyp-v). This tool is also free as it comes with Server 2008.

Take a look at this link as it is the step-by-step guide to accomplish this...
http://technet.microsoft.com/en-us/library/cc770266(WS.10).aspx 

hope this helps~!
0
 
LVL 30

Accepted Solution

by:
Brad Howe earned 400 total points
ID: 33645691
Hi,

Windows Server backup will successfully back up a running VM since it backups at the volume level though VSS. You can also restore an individual VM by recovering its VHD from the backup and then creating a new VM mounting the restored VHD.

How to back up Hyper-V virtual machines from the parent partition on a Windows Server 2008-based computer by using Windows Server Backup
http://support.microsoft.com/kb/958662 

You could also use a scripted approach modified from this.
http://www.bunkerhollow.com/blogs/matt/archive/2008/09/24/hyper-v-vm-backup-script-batch-file.aspx 

We did this in the beginning and finally purchased Acronis backup 10. This is VM aware and works everytime. We maintain all the base configs in an xls and then when a restore is required, we simply create the VM Container on the Host, boot with Arconis and restore the last backup.

If you can purchase agents to install, Data protection manager by Microsoft or Acronis would be the path I would suggest.
If free is required, then a powershell scripted approach or Windows Server Backup would work.

-Hades666
0
 
LVL 30

Assisted Solution

by:Brad Howe
Brad Howe earned 400 total points
ID: 33645826
Here is a good video walktrough of Windows Server Backup and VHD restore.
http://technet.microsoft.com/en-us/windowsserver/dd775213.aspx
Cheers,
-Hades666
0
 
LVL 2

Expert Comment

by:jbits1212
ID: 33646278
As a backup solution I like logmeinbackup

https://secure.logmein.com/products/backup/

It is subscription based but the price is low, you can get a free trial (time limited)
it is bullet proof for my needs
It will even look at regulary changing large files such as .pst (outlook files) and only backup the changed data which is great if you are sending stuff offsite all encryted of course.

Good luck
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through the steps necessary to install and configure the Windows Server Backup Utility. Directly connect an external storage device such as a USB drive, or CD\DVD burner: If the device is a USB drive, ensure i…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question