Azure Backup Resource Group naming via ARM template?

Frank McLean 21 Reputation points
2021-06-23T16:33:06.927+00:00

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 Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,114 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,058 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 36,881 Reputation points Microsoft Employee
    2021-06-29T13:38:44.297+00:00

    @Frank McLean 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

    0 comments No comments

0 additional answers

Sort by: Most helpful