How to find backup vaults for an Azure blob container and file share using AZ CLI

57 views Asked by At

I'm working on an automation project where I need to find the backup vaults configured for blob container and file share. I searched Microsoft documents but couldn't find anything to achieve my goal. Could anyone please help?

Thanks.

1

There are 1 answers

0
Digger On

I found the answer: AZ command:

az dataprotection backup-instance list-from-resourcegraph --datasource-type AzureBlob --datasource-id