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 多个其他 VM。
尝试从 Azure 门户为此 VM 启用备份(从 VM Blade > Operations > Backup )但失败并显示以下错误代码:
我已经尝试过多次了。
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 做同样的事情,因为它已经在使用了。
任何帮助/指导将不胜感激。