none
Domain controller 2008 Crashed and want to restore vhd system image backup to another server

    Question

  • I have a domain controller installed windows 2008 R2 which just crashed , how can i recover from system image vhd backup , i can see the contents after attaching the vhd in server but not able to boot , since its not supporting , how can i restore this backup to 2008 as boot as domain controller in original state.

    Thursday, August 09, 2012 11:42 PM

Answers

  • Hi,

    As R said, how did you create the vhd image? Is it created by windows server backup?

    If you attach vhd files directly, as far as I know, They are not bootable by design, please refer to this similar thread, but if I misread your concern, please feel free to let me know.

    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/29d9d5d2-a265-4615-87ee-53d0a7466482/

    By the way, you also can check the following article for troubleshooting this issue.

    Booting a Windows Server Backup VHD in Hyper-V   

    http://blogs.catapultsystems.com/IT/archive/2012/02/23/booting-a-windows-server-backup-vhd-in-hyper-v.aspx

    Thanks,

    Friday, August 10, 2012 5:50 AM
    Moderator
  • Good! You can follow the steps in the following article to recover your server by using a backup that you have created by using Bare Metal Restore feature:

    http://blogs.technet.com/b/askcore/archive/2011/05/12/bare-metal-restore.aspx

    Also note that the VHD image that Windows Server Backup creates cannot be used to boot system from it. For more information see the following article:

    http://www.windowsitpro.com/article/storage/q-can-i-boot-from-a-vhd-created-by-windows-server-backup-


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Friday, August 10, 2012 6:53 AM
  • The only supported solution for restoring Active Directory is through restoring System State. For more information see the following link:

    http://technet.microsoft.com/en-us/library/bb727048.aspx


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Saturday, August 11, 2012 11:24 PM

All replies

  • How did you create the vhd image? Which method did you use for creating this image (System State or Bare Metal)?

    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Friday, August 10, 2012 12:59 AM
  • its system state. because it does not have any boot files.it has all the folder structure. file and everything except boot  files.

    Friday, August 10, 2012 1:25 AM
  • Well all the drives are available in the vhd file , because i attach it in 2008 disk management , so i see all the drives , but its not bootable because i attach as a disk in hyper v machine but it does not boot , so i believe its bare metal , how can i restore it to hyper v machine?

    Friday, August 10, 2012 1:29 AM
  • Hi,

    As R said, how did you create the vhd image? Is it created by windows server backup?

    If you attach vhd files directly, as far as I know, They are not bootable by design, please refer to this similar thread, but if I misread your concern, please feel free to let me know.

    http://social.technet.microsoft.com/Forums/en-US/windowsserver2008r2virtualization/thread/29d9d5d2-a265-4615-87ee-53d0a7466482/

    By the way, you also can check the following article for troubleshooting this issue.

    Booting a Windows Server Backup VHD in Hyper-V   

    http://blogs.catapultsystems.com/IT/archive/2012/02/23/booting-a-windows-server-backup-vhd-in-hyper-v.aspx

    Thanks,

    Friday, August 10, 2012 5:50 AM
    Moderator
  • Good! You can follow the steps in the following article to recover your server by using a backup that you have created by using Bare Metal Restore feature:

    http://blogs.technet.com/b/askcore/archive/2011/05/12/bare-metal-restore.aspx

    Also note that the VHD image that Windows Server Backup creates cannot be used to boot system from it. For more information see the following article:

    http://www.windowsitpro.com/article/storage/q-can-i-boot-from-a-vhd-created-by-windows-server-backup-


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.


    Friday, August 10, 2012 6:53 AM
  • Well its not baremetal backup i believe , i have all the folders and data of domain controller , how to restore if you have edb files and sysvol folders , is there a way?

    Saturday, August 11, 2012 11:52 AM
  • The only supported solution for restoring Active Directory is through restoring System State. For more information see the following link:

    http://technet.microsoft.com/en-us/library/bb727048.aspx


    Please VOTE as HELPFUL if the post helps you and remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    Saturday, August 11, 2012 11:24 PM
  • If you did not export the VM in Hyper-V manager - but are rebulding the VM and then trying to inject the DC into it - heres is what you can do:

    Problem: When you create new VHD's they are in fact new hardware. So the previous disks used in the full server or bare metal backup - except for the system partition - will in this case be missing.

    Symptom: When you boot the Windows Server 2008 R2 disc and hit Repair>Command Prompt (or Shift+F10)>Diskpart>List disk ... you can see the disks are missing. I.e. when you're trying to boot - you get a BSOD (if you safe boot) stating cannot find file (i.e. the disks are missing - allthough you thought the repair recreated the disk layout in the VM)

    Solution: (when not completing the first boot into a DC VM after a DC recovery from a bare metal or full server backup (Windows Server Backup)

    1) Recreate the VM - i.e. new virtual disks (if you still have MAC-adresses for any network card put them in - if not, it seems to work anyway in the matter of getting the DC activated and online again)

    2) Boot the VM with Windows Server 2008 R2 disc and hit Repair and recover the System Image from the backup

    3) Boot the VM with Windows Server 2008 R2 disc and hit Repair>Cancel>Command Prompt (or Shift+F10)>bcdedit ... and note the identifier for the booting Windows

    4) bcdedit /set {identifier} safeboot dsrepair

    5) Boot the VM ... it boots into DSRM

    6) Login using the local admin account (the domain is not activated in this configuration)

    7) Computer Configuration>Disk Manager>online and import forreign disks. Reassign mount points, i.e. driver letters. Check any missing disks has now disappeared.

    8) Reconfigure any static IPs for the network interface of the DC (i.e. you rebuild the VM - so best stuff here is to have a record somewhere of the previous MAC adresses and reconfigure the VM - then this step should be unnessecary)

    9) Shutdown

    10) Boot the VM with Windows Server 2008 R2 disc and hit Repair>Cancel>Command Prompt (or Shift+F10)>bcdedit ... and note the identifier for the booting Windows

    11) bcdedit /deletevalue {identifier} safeboot

    12) Boot the VM ... it boots into Windows

    13) Try to login with the domain admin account and check if the AD, DHCP, DNS, etc. services are online and the IP configuration is ok. Check evt log.

    If not you can try and redo step 3-5 into DSRM and do a System State recovery from the backup. Then do step 10-13.

    Lesson: Keep a record of the VM's configuration, i.e. the xml configuration files for the VM's. At least the MAC address. In any case the situation is handable. A nice touch would be if a VM guest do a backup the VM's configuration in the host env is also embedded as an option inside this guest backup. Would make VM recreation a more automated step.



    Saturday, February 09, 2013 6:37 AM