在中小企業大部分爲了節省開支,用一臺DC在服役,可是真實環境是,若是這臺DC掛了,你將死的很慘。準備你的電話打爆吧。爲了不這樣的狀況,進行備份是必須的。備份好了,咱們須要在虛擬環境中還原看看,是否可用。php
環境:DC:192.168.3.88windows
備份服務器:192.168.3.40服務器
測試機器:windows xpapp
先用windows 2008 server backup裸機備份DC和系統狀態,而後在一臺裸機上還原。這樣以保證DC還原的備份狀態。可是今天我卻碰到這個問題,正好國外的網站也有人碰到了,順便貼來跟你們一塊兒分享。less
That guild didn't work for me as I as trying to restore Hyper-V IDE disks to VMWARE SCSI disks but was getting the same Bluescreen 7B issue. ide
Before relasing this, I tried Server 2008 R2's Windows Server Backup, got the same errros, but once I worked out the drive discrepancy issues, I could do a backup to a network location, and then using a windows 7 x64 recovery disk I made do a bare metal restore to VMWARE by using System Image Recovery on a network drive. Was very happy with this :)測試
So far I've done this to two servers sucessfully.網站
Issue:ui
the method mentioned above is failing on one server, first I get the error:this
"The system p_w_picpath restore failed.
Error details: The computer needs to be restarted to finish preparing a hard disk for restore. To continue, restart your computer and run the restore again. (0x80042403)"
Now If I try one of the other backups, it just starts restoring. If I restart as recommended I get the error:
"The System p_w_picpath restore failed.
No disk that can be used for recovering the system disk can be found."
it has a details option, that mentions USB drivers, DISKPART, etc, but none appear to be releviant.
Now I've tried backing up to different network locations, ensured that backups are sucessful on the server, trying larger virtual disks but same errors every time.
The server that is failing is Server 2008 R2, with SQL 2008, on a single disk (not best pratice, but this is just a POC box to run a small DB).
All 3 servers have been given identical configurations under Hyper-V and VMWARE.
Question:
So if it works for my other servers why won't it work for this one?
Is is something to do with SQL that's causing it to happen? (wouldn't think so).
Any suggestions on what else I could try?
I know I could just backup the databases and build a new one, but I'm liking this backup method, and if I wanted to use it under a full production senerio I'd like to know how to resolve the error should it arrise.
答案:
I have your answer: shrink the source partitions. See here for a guide with details: Windows 7 System Image Disc Recovery
If your destination disk has a lower capacity than the source disk, you need to go into the disk manager and shrink each partition on the source disk before restoring.
Example: Source is a 500GB hard drive with only 100GB of data, but destination is a 300GB hard drive. You will need to shrink the source partitions to 1GB less than maximum (100 + 1GB) before restoring.
總結:就是咱們的原始DC的磁盤有多大,目標裸機必定要大於或者等於原來DC的容量大小。也就是說DC之前有100G,那裸機的DC必定要大於或者等於100G。