NetWorker:nsrazure_recover失败 “对于单磁盘恢复,目标虚拟机必须已存在。”

Summary: nsrazure_recover 命令用于恢复使用 NetWorker 备份的 Azure 虚拟机 (VM) 快照。该命令几乎立即失败,并报告“Target VM must already exists for a single disk recovery.”(目标虚拟机必须已存在,才能进行单磁盘恢复。)

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

azure-nve:~ # nsrazure_recover -S 4154256312 -N 'Azure' -R 'NW-PERF' -A 'networkerstorageaccount' -V 'Test-VM' -E 'NW-PERF:vnet' -T 'subnet'
207830:nsrazure_recover: Response Code: 404 Response Data: {"error":{"code":"ResourceNotFound","message":"The Resource 'Microsoft.Compute/virtualMachines/Test-VM' under resource group 'NW-PERF' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix"}}

207974:nsrazure_recover: Target VM must already exist for a single disk recovery.

Cause

在 中指定的存储集 ID (SSID) nsrazure_recover 命令用于 DataDisk,而不是 OsDisk。使用 -V VM_NAME 适用于新 VM,而不是现有 VM。

azure-nve:~ # mminfo -avot
volume        type   client           date     time         size ssid      fl   lvl name
….
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:03 31 GB 4171033528 cb full NW-PERF:azure-ubuntu:azure-ubuntu_OsDisk_1_cf93159d6205414baa8593901a918d3a
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:04 33 GB 4154256312 cb full NW-PERF:azure-ubuntu:azure-ubuntu_DataDisk_0

无法执行 DataDisk 恢复到新虚拟机。必须指定现有虚拟机。

这是预期的功能。

Resolution

  • 选项一:要仅恢复数据磁盘,请指定 -V Existing_VM 在 nsrazure_recover 命令为您的组织配置主要和次要 IT 联系人。
  • 选项二:要将虚拟机恢复到新的虚拟机,请为虚拟机指定 SSID OsDisk
azure-nve:~ # mminfo -avot
volume        type   client           date     time         size ssid      fl   lvl name
….
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:03 31 GB 4171033528 cb full NW-PERF:azure-ubuntu:azure-ubuntu_OsDisk_1_cf93159d6205414baa8593901a918d3a
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:04 33 GB 4154256312 cb full NW-PERF:azure-ubuntu:azure-ubuntu_DataDisk_0

azure-nve:~ # nsrazure_recover -S 4171033528 -N 'Azure' -R 'NW-PERF' -A 'networkerstorageaccount' -V 'TestVM' -E 'DD-PERF:vnet' -T 'subnet'
Using 'vnet' vnet from resource group 'NW-PERF'.
Target VM 'NW-PERF:TestVM' does not exist and will be recreated.
Restoring OS disk 'azure-ubuntu_OsDisk_1_cf93159d6205414baa8593901a918d3a'.
Using 'networkerstorageaccount' storage account from resource group 'NW-PERF'.
… 

Additional Information

在某些情况下,磁盘可能显示为”OsDisk_JobID_TimeStamp“例如:

azure-nve:~ # mminfo -avot
volume        type   client           date     time         size ssid      fl   lvl name
….
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:03 31 GB 4171033528 cb full NW-PERF:azure-ubuntu:azure-ubuntu_OsDisk_0_17143_1751393058

此磁盘表明它是通过以前的还原尝试创建的。在 nsrazure_recover,它被视为 DataDisk,而不是 OsDisk。在 nsrazure_recover时,您必须指定未附加 JobId_TimeStamp

azure-nve:~ # mminfo -avot
volume        type   client           date     time         size ssid      fl   lvl name
….
azure_nve.local.dddefault.003 Data Domain azure-nve.local 08/13/25 15:47:03 31 GB 4171033528 cb full NW-PERF:azure-ubuntu:azure-ubuntu_OsDisk_1_cf93159d6205414baa8593901a918d3a

Affected Products

NetWorker

Products

NetWorker Family
Article Properties
Article Number: 000356781
Article Type: Solution
Last Modified: 14 Aug 2025
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.