question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure backup protection enable for vm fails

See original GitHub issue

This 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:open
  • Created 2 years ago
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
adityabalaji-msftcommented, Feb 2, 2022

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

0reactions
adityabalaji-msftcommented, Jul 6, 2022

awaiting user response

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found