NetWorker:nsrazure_recover失敗 「單一磁碟復原的目標虛擬機器必須已存在。」

Summary: nsrazure_recover 命令可用來還原使用 NetWorker 備份的 Azure 虛擬機器 (VM) 快照。命令幾乎立即失敗,並回報「單一磁碟復原的目標虛擬機器必須已存在」。

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 恢復到新的 VM。必須指定現有 VM。

這是預期的功能。

Resolution

  • 選項一:若要僅恢復資料盤,請指定 -V Existing_VM 在 nsrazure_recover 命令為貴組織設定主要和次要 IT 連絡人。
  • 選項二:若要將 VM 還原至新的 VM,請指定 VM 的 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.