question

FrankMcLean-4437 avatar image
0 Votes"
FrankMcLean-4437 asked SadiqhAhmed-MSFT answered

Azure Backup Resource Group naming via ARM template?

I am using ARM templates, via Blueprints, to deploy my infrastructure. So far this has been great - I am able to consistently tag everything beautifully, follow naming conventions, etc. But when I reviewed a created backup policy for VMs through the console for correctness, I saw this -

"Azure Backup service creates a separate resource group to store the instant recovery points of managed virtual machines. The default naming format of resource group created by Azure Backup service is AzureBackupRG_{Geo}_{n}. It is optional to customize the name as per your requirement."

What!? Breaking all my conventions would be bad enough, compounded with the inability to tag things, but now I can find no way to at least override the naming convention with my own, from within an ARM template.

Any ideas? My deployment pattern is one project = one resource group, so everything, apart from this, will exist in beautiful, individually costable isolation. :-)

azure-backupazure-virtual-machines-backup
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SadiqhAhmed-MSFT avatar image
0 Votes"
SadiqhAhmed-MSFT answered

@FrankMcLean-4437 Thank you for your post and I apologize for the delayed response!

You can’t override the naming convention with the number in it – only add to it so that you can recognize it programmatically. It would look like this:

         "properties": {
             "backupManagementType": "AzureIaasVM",
             "instantRPDetails": {
                 "azureBackupRGNamePrefix": "TestRSG",
                 "azureBackupRGNameSuffix": "Backup"
             },

The RSG for instant recovery points would then be named:

110297-image.png


If the response helped, do "Accept Answer" and up-vote it




image.png (10.0 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.