微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

Azure - 使用 Windows Server 2019 核心服务器 D4s_v3 sku 在 VM 上启用备份失败,代码为 BMSUserErrorContainerObjectNotFound

如何解决Azure - 使用 Windows Server 2019 核心服务器 D4s_v3 sku 在 VM 上启用备份失败,代码为 BMSUserErrorContainerObjectNotFound

Azure VM Details :
OS : Windows Server 2019 Datacenter Core
Size: Standard D4s v3 (4 vcpus,16 GiB memory)
Location: Australia East
VM generation: V1
Agent status: Ready
Agent version: 2.7.41491.1010
Azure disk encryption: Not Enabled

Extensions already installed :
DependencyAgentwindows
IaaSAntimalware
MDE.Windows
MicrosoftMonitoringAgent

拥有一个现有的恢复服务保管库,并备份了 10 多个其他虚拟机。

尝试从 Azure 门户为此虚拟机启用备份(从虚拟机刀片 > 操作 > 备份),但失败并显示以下错误代码

我已经试过很多次了。

Provisioning state: Failed
Duration: 1 minute 3 seconds
Status: Conflict
{
  "code": "DeploymentFailed","message": "At least one resource deployment operation Failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details": [
    {
      "code": "BMSUserErrorContainerObjectNotFound","message": "Item not found"
    }
  ]
}

有关备份故障排除的所有信息都与问题有关@https://docs.microsoft.com/en-us/azure/backup/backup-azure-vms-troubleshoot 谈论在“启用备份”步骤之后。

我还尝试使用 azure cli 启用备份:

az backup protection enable-for-vm --vm "/subscriptions/xxx/resourceGroups/yyy/providers/Microsoft.Compute/virtualMachines/vm_name" -v vaultname -g vault_resourcegroup -p backuppolicy_name 

它抛出以下错误

The specified Azure Virtual Machine Not Found. Possible causes are
               1. VM does not exist
               2. The VM name or the Service name needs to be case sensitive
               3. VM is already Protected with same or other Vault.
                  Please Unprotect VM first and then try to protect it again.

            Please contact Microsoft for further assistance.

第 1、2 或 3 点都不正确。 VM 存在,名称如门户中所示,未使用其他 VM 保护服务。

注意:几天前我在另一个订阅中遇到了这个问题,但幸运的是还没有人使用该虚拟机,所以我销毁并重新部署了虚拟机,错误消失了。 我不能对这个虚拟机做同样的事情,因为它已经在使用中。

任何帮助/指导将不胜感激。

解决方法

似乎是门户错误或 VM 无法与 Azure 平台通信。我建议您尝试使用“重新申请”功能来更新平台状态。

[Azure Porta 中重新申请的片段][1]

否则,您可以尝试从“恢复服务保管库”刀片启动备份并将虚拟机添加到其中。

,

解决方案是联系 Microsoft 支持。他们的工程师经过一些分析(又名来回,通过电子邮件交换屏幕截图等)回复:

I check from the backend and notice that the VM status is not in synchronize state. I’ve requested the VM engineer xxxxx resync the VM from the backend. Please try to reenable the VM backup again in the Azure portal recovery service Vault page. If you encounter the same issue,please try to configure the VM backup in the Azure Virtual Machine Panel page and let me know the results. Thanks!

此后,当我尝试启用备份时,它起作用了。

因此,对于任何面临此问题的人来说,似乎唯一的选择就是与 MS 支持人员取得联系。

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。