Azure backup protection enable for vm fails
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az backup protection enable-for-vm
Errors:
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.
To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
- Put any pre-requisite steps here…
az backup protection enable-for-vm --resource-group {} --vault-name {} --vm {} --policy-name {}
Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.8.9
Installer: MSI
azure-cli 2.30.0 *
Extensions:
azure-devops 0.22.0
Additional Context
Issue Analytics
- State:
- Created 2 years ago
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Troubleshoot backup errors with Azure VMs - Microsoft Learn
In this article, learn how to troubleshoot errors encountered with backup and restore of Azure virtual machines.
Read more >Enabling Azure Backup on Linux VMs with Terraform
This article shows you how to enable Azure Backup on Linux VMs. ... Error: waiting for the Azure Backup Protected VM "VM;iaasvmcontainerv2 ...
Read more >Ensure Virtual Machines are backed up using Azure backup
Ensure that Azure Backup service is enabled and configured to create server backups for your Microsoft Azure virtual machines (VMs), in order to...
Read more >Azure - Enable Backup on VM with Windows Server 2019 ...
The specified Azure Virtual Machine Not Found. Possible causes are 1. VM does not exist 2. The VM name or the Service name...
Read more >(Solution) VM Agent is unable to communicate with the Azure ...
The issue. When I enabled Azure Backup for the Linux VM, I noticed that the backup job is failing with the following error...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks @Arulanand and @neviegas for the details. I tried out the same for a France Central VM but I was not able to reproduce the issue.
Would you be able to share the debug logs for the same (by using --debug flag in the command)? Apologies for the inconvenience.
Also adding @akshayneema
awaiting user response