使用 MARS 代理和本地计算机从 Azure Data Recovery Vault 进行数据恢复失败

使用 MARS 代理和本地计算机从 Azure Data Recovery Vault 进行数据恢复失败

尽管自昨晚以来尝试了多次,但在传输大约(但不完全相同)相同数量的数据(约 7.5GB 中的约 3.7GB)后,将卷从 Azure 数据恢复库恢复到原始源计算机上的新位置仍失败。如果尝试恢复之前传输的数据(关闭覆盖),则恢复几 MB 后就会失败。

该计算机是一台普通的 Windows 10 Pro 笔记本电脑,6 个月前曾成功执行过一次测试恢复。MARS 代理已更新。备份未显示任何错误,并且已按照计划成功完成。

可以使用 MARS 代理成功挂载该卷,但由于文件已加密(NTFS EFS 加密),因此此方法不可用,需要将数据恢复为具有完整文件属性等的卷。

不用说,这非常令人不安 - 有人有什么建议吗?我已经到达互联网的另一端,却没有找到任何可操作的信息,错误日志(下面的摘录)是神秘的,表明存在某种损坏,但我无法判断这是在原始备份中还是在传输过程/缓存中。

非常感谢您的帮助,谢谢

2:36:56 PM  3   dynamicloadedmodule.cpp(86) WARNING Failed: Hr: = [0x80070057] : Encountered Failure: : lVal : E_INVALIDARG
2:36:57 PM  75  OMUtils.cs(309) WARNING cbpVersion 2.0.9167.0 , latestVersion 2.0.9167.0 
2:36:57 PM  3   registryutils.cpp(249)  WARNING Failed: Hr: = [0x80070002] : Encountered Failure: : lVal : (UINT)RegDeleteValue(hReg, pwstrValueName)
2:38:24 PM  75  OMUtils.cs(309) WARNING cbpVersion 2.0.9167.0 , latestVersion 2.0.9127.0 
2:39:28 PM  3   miscellaneousutils.cpp(292) WARNING Failed: Hr: = [0x8007007e] GetModuleHandle failed for Library [RefCountedVhdManager], will try LoadLibrary
2:39:28 PM  3   miscellaneousutils.cpp(292) WARNING Failed: Hr: = [0x8007007e] GetModuleHandle failed for Library [HypervVhdHelper], will try LoadLibrary
2:39:28 PM  3   miscellaneousutils.cpp(292) WARNING Failed: Hr: = [0x8007007e] GetModuleHandle failed for Library [NativeVHDProvider], will try LoadLibrary
2:39:28 PM  18  fsutils.cpp(1962)   WARNING Failed: Hr: = [0x80990a57] : Failed to open volume:\\?\{90600554-265E-453E-9C8E-6BB78588BAB2}
2:39:28 PM  18  metadatawriteriterator.cpp(791) WARNING Failed: Hr: = [0x80990a57] : Failed to get handle for volume {90600554-265E-453E-9C8E-6BB78588BAB2}\
2:39:39 PM  79  WcfClient.cs(998)   WARNING Unable to make web service call | Params: {Exception:  = System.ServiceModel.FaultException`1[Microsoft.Internal.CloudBackup.Common.FailureModeling.CloudServiceFault]: Internal Service Error (Fault Detail is equal to ErrorCode = CloudAsyncWorkSubmitted, DetailedErrorCode = 0, DetailedErrorSource = Service/None/None/None, Message = 
2:39:39 PM  79  WcfClient.cs(998)   WARNING ).}
2:39:40 PM  79  WcfClient.cs(815)   WARNING FMBlock: Executing retry policy | Params: {CurrentAttempt = 1}{MaxAttempts = 28800}{BackOffIntervalInSec = 3.6}{OperationCode = WcfProxyGenericAsyncOperationPollingCall}{Retry policy id = 7}
2:43:47 PM  79  WcfClient.cs(815)   WARNING FMBlock: Executing retry policy | Params: {CurrentAttempt = 20}{MaxAttempts = 28800}{BackOffIntervalInSec = 18}{OperationCode = WcfProxyGenericAsyncOperationPollingCall}{Retry policy id = 7}
2:45:58 PM  3   workitem.cpp(233)   WARNING Idle Timer FIRED But WorkItem 000000001A395C80 Doesnt Exist! TimerOrWaitFired: True
2:45:58 PM  3   workitem.cpp(233)   WARNING Idle Timer FIRED But WorkItem 000000001C567D00 Doesnt Exist! TimerOrWaitFired: True
2:48:02 PM  75  CBJob.cs(1387)  WARNING [TriggerJobFailed#2]The Job of type Recovery is already running.
2:48:02 PM  69  CBEngineHelper.cs(403)  WARNING FMBlock: FM exception caught | Params: {OperationCode = GenericOMCall}{OperationStartTime = 6/19/2019 2:48:00 PM}{FMExceptionDetail = FMException: [ErrorCode:CBPBackupOrRestoreInProgress, DetailedCode:0, Source:None, Message:This operation cannot be performed now because a backup or restore operation is currently in progress.]
2:48:02 PM  69  CBEngineHelper.cs(403)  WARNING }
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING Caught CloudFMException with error detailsFMException: [ErrorCode:CBPBackupOrRestoreInProgress, DetailedCode:0, Source:None, Message:This operation cannot be performed now because a backup or restore operation is currently in progress.]
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING Stack trace:   at Microsoft.Internal.CloudBackup.ObjectModel.OMCommon.CBJob.CheckAndFailIfAnotherJobAlreadyInProgress()
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING    at Microsoft.Internal.CloudBackup.ObjectModel.OMCommon.CBAutoRetry.RetryFailedJobs(CBPolicy policy)
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING    at Microsoft.Internal.CloudBackup.ObjectModel.OMCommon.CBBackupServer.RetryFailedJobs()
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING    at Microsoft.Internal.Common.FailureModeling.FMComponent`3._FMBlock(String fileName, Int32 lineNumber, FMBlockArgs args, Action fmPrecheckBlock, Action fmUserBlock)
2:48:02 PM  71  CBEngineHelper.cs(412)  WARNING    at Microsoft.Internal.CloudBackup.Engine.CBEngineHelper.CallOMFunction(Action omFunction)
2:48:02 PM  71  CBEngineHelper.cs(258)  WARNING Caught CloudFMException with ErrorCode CBPBackupOrRestoreInProgress, DetailedErrorCode 0
2:48:05 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x1c4e4b10] Unable to CreateFile C:\Temp\C_vol\Project\Company\Website\ReCaptcha.docx error :5
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x2328c670] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ error :3
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d62d0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\build.force error :3
2:48:28 PM  32  transformer.cpp(1288)   WARNING Failed: Hr: = [0x80990feb] Unexpected block version                     Block number inside buffer - [0],                    Block Major version - [28515],                    Block Minor version - [25966]
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d61e0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache error :3
2:48:28 PM  32  transformer.cpp(574)    WARNING Failed: Hr: = [0x80990feb] Detected problem in Block Header IntegrityTRANSFORMATION Message - [000000001A3608B0],Offset before transformation - [4252402176],Length before transformation - [16896],Ovl - [000000001C4EB140],Offset after transformation - [0],Length after transformation - [512],Block number inside buffer - [0],Block Major version - [0],Block Minor version - [0]
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x231b07b0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\GenerateResource.read.1.tlog error :3
2:48:28 PM  32  addressindex.cpp(1498)  WARNING Failed: Hr: = [0x80990feb] Received read error from transformation layer
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x231b0da0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\GenerateResource.write.1.tlog error :3
2:48:28 PM  18  mtfdirectory.cpp(1672)  WARNING Failed: Hr: = [0x80990feb] BackupRead failed on file(C:\Project\Product\Working2013\)
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d62d0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\Product.Licensing.Client.dll error :3
2:48:28 PM  18  fsutils.cpp(4751)   WARNING Failed: Hr: = [0x80070057] Failed: QueryVolumeAccessPath of [C:\] with error
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d5e20] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\Product.Licensing.Client.pdb error :3
2:48:28 PM  18  fsutils.cpp(4730)   WARNING Failed: Hr: = [0x80070057] : GetVolumePathNamesForVolumeName failed for volume name volume name [C:\]
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d6230] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\Product.Licensing.Client.Resources.resources error :3
2:48:28 PM  18  validationsubtaskbase.cpp(155)  WARNING Failed: Hr: = [0x80070057] : Encountered Failure: : lVal : QueryVolumeAccessPath(ssVolumePath, ssMountPointPath)
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d63c0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\Product.Licensing.Client.vbproj.FileListAbsolute.txt error :3
2:48:28 PM  18  dsmsendersubtaskbase.cpp(582)   WARNING Failed: Hr: = [0x80990feb] SendData() failed
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x201d60f0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Release\Product.Licensing.Client.xml error :3
2:48:28 PM  18  dsmreceiversubtaskbase.cpp(251) WARNING CDsmReceiverSubTaskBase received completion for session closed in WAIT state
2:48:28 PM  18  dsmsubtaskbase.cpp(227) WARNING Session closed before data move completed
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x2010fbc0] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Debug\Product.Licensing.Client.pdb error :3
2:48:28 PM  32  salbuffer.cpp(304)  WARNING Failed: Hr: = [0x80990fe5] Encountered pending error on queue 000000001A122570
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x2010ff30] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Debug\Product.Licensing.Client.vbprojResolveAssemblyReference.cache error :3
2:48:28 PM  32  salreaderqueue.cpp(343) WARNING Failed: Hr: = [0x80990fe5] Error hit in SalReaderqueue. Aborting .... 
2:48:28 PM  18  fswrapper.cpp(933)  WARNING Hr: = [0x2010fb20] Unable to CreateFile C:\Temp\C_vol\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Debug\Product.Licensing.Client.xml error :3
2:48:28 PM  18  writeriterator.cpp(613) WARNING CFileWriterIterator failed at checkpoint 0000000000000000
2:48:28 PM  32  salbuffer.cpp(304)  WARNING Failed: Hr: = [0x80990fe5] Encountered pending error on queue 000000001A122570
2:48:28 PM  18  iteratorutils.cpp(616)  WARNING Create(usn:0x0000000000000000, frn:0x0000000000000000, path:C:\Project\Product\Working\ProductVisualizerPC\Product.Licensing\obj\x86\Debug\Product.Licensing.Client.xml, ChangeTime: {0x20362a3a,0x1d49c9a}, BackupTime: {0x0,0x0}, ParentModifiedTime: {0x3e7b0ea4,0x324aa4f5})
2:48:28 PM  18  iteratorutils.cpp(624)  WARNING File properties sent by sender (Attributes: 0x4020, CreationTime: {0x3b6514d4,0x1d48e55}, LastAccessTime: {0x3b6514d4,0x1d48e55}, LastWriteTime: {0x401acd00,0x1cf31df}, FileSize: 9220 bytes, ReparseTag:0x0)
2:48:28 PM  32  salbuffer.cpp(304)  WARNING Failed: Hr: = [0x80990fe5] Encountered pending error on queue 000000001A122570
2:48:28 PM  18  mtfparser.cpp(232)  WARNING CMtfParser::Parse - Error parsing dblk at offset 23965696 after reading 0 bytes.
2:48:28 PM  32  salbuffer.cpp(304)  WARNING Failed: Hr: = [0x80990fe5] Encountered pending error on queue 000000001A122570
2:48:30 PM  32  metadatastream.cpp(630) WARNING Failed: Hr: = [0x80070002] Failed to delete metadata file [C:\Program Files\Microsoft Azure Recovery Services Agent\Scratch\MicrosoftBackupProvider\SAL\MetadataStreams\{E340ADF7-13E0-48A6-BE69-CCB1695FC670}.dat]
2:48:30 PM  71  restoreasync.cpp(548)   WARNING Failed: Hr: = [0x80990feb] Recovery Progress: Failed
2:48:30 PM  71  restoreasync.cpp(601)   RECOVERY_FAIL   Saving failed recovery logs.

答案1

对于那些偶然发现这个问题并希望找到答案的人来说,根本原因是服务器端的一个错误。我花了几个月的时间与一位非常专业的技术支持人员以及印度的微软开发团队合作,才确定了确切的问题(因为我必须为他们进行远程测试,而他们只是盲测)。

因此这种事情可能会发生,但至少在这种情况下,已经创建并应用了补丁,并且一切正常。

另一件需要了解的重要事情(我并不知道)是,Powershell 提供了一种基于脚本的方法,可让您无需通过 MARS gui 即可恢复选定的文件和/或文件夹。如果您不想下载整个档案,这一点至关重要,因为这是目前通过 gui 获得 EFS 加密内容的唯一选项 - 您无法远程安装该卷,因为任何恢复的文件都将被加密,即使在原始源计算机上也无法使用。

描述所有可用选项超出了本回答的范围,但我附上了一个发送给我的通用脚本,以便让您了解该方法。如果恢复到原始机器,则不需要“$sources”部分。文档在此处:https://docs.microsoft.com/en-us/powershell/module/msonlinebackup/?view=msonlinebackup-ps

示例脚本:

import-Module MSOnlineBackup 

$AltServer = Get-OBAlternateBackupServer -VaultCredentials "C:\Users\...\xyz_Mon Sep 09 2019.VaultCredentials" 

$AltServer.ServerName[2]  #This will print the server name, in this case it should print the original win 10 machine, if not, then change the index till we find the right machine

$obj = New-object Microsoft.Internal.CloudBackup.ObjectModel.OMCommon.CBBackupServer

$obj.ServerName = $AltServer.ServerName[2] 

$sources = Get-OBRecoverableSource -Server $obj #$sources variable will basically contain the backed up drives, $sources[0] should show up the first drive in the list, lets ensure that we select the right drive

$rps = Get-OBRecoverableItem $sources[0] 

$ro = new-obrecoveryoption -DestinationPath "c:\temp"  #The folder must exists so please create it manually at this point and add it here, no letter required, just to path

$ri = New-OBRecoverableItem $rps[81] "Project\Test" $TRUE #add backed up folder name

$key = ConvertTo-SecureString -string "passphraseplease" -AsPlainText -Force #provide the correct passphrase for the restore to work properly

start-obrecovery @($ri) -RecoveryOption $ro -EncryptionPassphrase $key

相关内容