backup-now 'item not found'
See original GitHub issueThis is autogenerated. Please review and update as needed.
Describe the bug
When running az backup protection backup-now
for sql in azure vm, the backup item cannot be found, despite the container existing with protectable items listed.
This did work in the past, with almost identical code. Trying this code again, yields the same result.
Command Name
az backup protection backup-now
Errors: Azure CLI
(BMSUserErrorDataSourceObjectNotFound) Item not found. Selected item might have been deleted. Please check if item is registered to the vault.
Code: BMSUserErrorDataSourceObjectNotFound
Message: Item not found. Selected item might have been deleted. Please check if item is registered to the vault.
Finding the error in the GUI, it shows this:
Error Code
CloudInternalError
Error Code
Microsoft Azure Backup encountered an internal error.
Recommended action
Wait for a few minutes and then try the operation again. If the issue persists, please contact Microsoft support.
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 backup-now --container-name {} --item-name {} --resource-group {} --vault-name {} --backup-management-type {} --backup-type {}
Expected Behavior
The SQL database in the Azure VM, in the backup container’s protectable item list, is backed up once.
Environment Summary
Windows-10-10.0.22000-SP0
Python 3.10.5
Installer: MSI
azure-cli 2.38.0
Additional Context
This seemed to stop working around the time we started deploying similar environments in the same subscription, though they each have their own resource group and recovery vault. I don’t think this is related, but it’s all I can think of.
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:13 (6 by maintainers)
Top GitHub Comments
Thanks @SaurabhSharma-MSFT! I believe this guide wasn’t available before I created this issue. I can already spot something different that I’m not doing from the guide. I will have a look at this in the next few days and see if I can replicate what you did to get this working.
@kiweezi We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.