I have an VHD that contains the OS for an SQL server.
Something is wrong at the disk level that the VHD file sits on,as my backups have been failing and I can't do a simple file copy of the VHD (yes the server is stopped)
I have tried creating a new VHD and selecting to copy the contents of the physical disk - this failed.
I tried to "Export" the Guest this filed.
So clearly there is something in the file/disk that is preventing the basic copying of the file.
The OS in the VHD works, i.e. I can turn on the Guest and it runs, therefore what ever is causing the issue is not effecting the actual OS files within the VHD.
I would like to know if there is a way I can copy the contents of this OS (windows Server 2008-R2) OS to another VHD.
Have seen articles using Robocopy, but get the impression it won't do OS drives completely.
Ideally I would like to do it with the OS shutdown - i.e. open the VHD, copy contents to another VHD including boot records etc, clsoe the VHD.
Then I can jsut attached the new VHD to the guest and it should boot.
Any idea would be appreciated.