New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bicep example of backupInstance doesn't configure containersList #13570
Comments
Yes, you need to include the policyParameters.backupDatasourceParametersList[].containersList inside the policyInfo to back up any configured containers in your storage account. This is because the default backup policy for storage accounts only backs up the root container. The policyParameters.backupDatasourceParametersList[].containersList property is a list of container names that you want to back up. If you leave this property empty, the backup policy will not back up any containers. |
@ngbrown Updated the same template to support vaulted backup (which takes container list as input). Let me know if that is working well for you. |
This quickstart to backup a storage account is not enough and will not backup any configured containers. Does it need to include
policyParameters.backupDatasourceParametersList[].containersList
inside thepolicyInfo
? I can't find any documentation on this.azure-quickstart-templates/quickstarts/microsoft.dataprotection/backup-create-storage-account-enable-protection/main.bicep
Lines 97 to 119 in 240b846
The text was updated successfully, but these errors were encountered: