Azure 删除备份保管库失败并显示 'associated container'
Azure delete backup vault fails with 'associated container'
我正在清理我的 Azure 帐户中的一些旧项目,无法删除旧版本的 Bacup Vault。
当我尝试删除它时出现以下错误:
Vault cannot be deleted as there are existing resources within the
vault. Please ensure there are no backup items, protected servers or
backup management servers associated with this vault. Unregister the
following containers associated with this vault before proceeding for
deletion : COMPUTER-NAME. Unregister all containers from the vault and then
retry to delete vault
注意 COMPUTER-NAME
那是我的计算机的名称,但我找不到该计算机上安装的 Azure 备份代理。我也无法在我整个 Azure 帐户的任何存储容器中找到计算机名称容器。
谁能帮我弄清楚如何删除这些项目
提前致谢
第一个屏幕截图显示了备份保管库和尝试删除时收到的错误消息。
第二个屏幕截图显示了剩余的 BackupItems,但我无法删除它们。
红色方框覆盖了我的计算机名称
由于简洁,我之前的回答似乎变成了评论。无论如何,这是一个更新,以使其成为更好的答案。下面引用的 link 的答案供参考。
I have not mapped this answer to the corresponding Azure commands, but I was able to find my way to a solution via the Azure Portal. The steps were as follows:
- Selected my Recovery Service resource
- Under the Manage section, clicked Backup Infrastructure
- Under Management Servers, clicked Protected Servers
- In the list that followed, clicked on the row where my Protected Server > Count was greater than 0, in my case, Azure Backup Agent (because the backup agent was installed on my Windows Desktop)
- Clicked on my server name in the Protected Server list
- Clicked Delete in the card for my protected server
After that completed, I was able to delete the entire vault. These steps may be helpful if you have other Backup Infrastructure resources and possibly even Site Recovery Infrastructure resources associated with a vault.
Update: It seems like there's an open issue for Get-AzureRmRecoveryServicesBackupItem not having any capacity to return MARS backup items which is ultimately what the issue here was.
我正在清理我的 Azure 帐户中的一些旧项目,无法删除旧版本的 Bacup Vault。
当我尝试删除它时出现以下错误:
Vault cannot be deleted as there are existing resources within the vault. Please ensure there are no backup items, protected servers or backup management servers associated with this vault. Unregister the following containers associated with this vault before proceeding for deletion : COMPUTER-NAME. Unregister all containers from the vault and then retry to delete vault
注意 COMPUTER-NAME 那是我的计算机的名称,但我找不到该计算机上安装的 Azure 备份代理。我也无法在我整个 Azure 帐户的任何存储容器中找到计算机名称容器。
谁能帮我弄清楚如何删除这些项目
提前致谢
第一个屏幕截图显示了备份保管库和尝试删除时收到的错误消息。
第二个屏幕截图显示了剩余的 BackupItems,但我无法删除它们。
红色方框覆盖了我的计算机名称
由于简洁,我之前的回答似乎变成了评论。无论如何,这是一个更新,以使其成为更好的答案。下面引用的 link 的答案供参考。
I have not mapped this answer to the corresponding Azure commands, but I was able to find my way to a solution via the Azure Portal. The steps were as follows:
- Selected my Recovery Service resource
- Under the Manage section, clicked Backup Infrastructure
- Under Management Servers, clicked Protected Servers
- In the list that followed, clicked on the row where my Protected Server > Count was greater than 0, in my case, Azure Backup Agent (because the backup agent was installed on my Windows Desktop)
- Clicked on my server name in the Protected Server list
- Clicked Delete in the card for my protected server
After that completed, I was able to delete the entire vault. These steps may be helpful if you have other Backup Infrastructure resources and possibly even Site Recovery Infrastructure resources associated with a vault.
Update: It seems like there's an open issue for Get-AzureRmRecoveryServicesBackupItem not having any capacity to return MARS backup items which is ultimately what the issue here was.