question

ChandrakantKhomane-9703 avatar image
0 Votes"
ChandrakantKhomane-9703 asked ravikanthk answered

Vnet & route table configuration backup

How we can take Backup of Vents & Route Tables configuration in Azure? is there any automation solution available?

azure-automanage
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

ravikanthk avatar image
0 Votes"
ravikanthk answered

@ChandrakantKhomane-9703,

Backing up a VNET involves JSON files and export templates. You can download a JSON file of a VNET if all you require is information regarding the VNET and the objects associated with it. This really leads to an inventory that would allow you to manually recreate the VNET .

If a more formal backup/restore is needed then an export template and deployment can be used. For most resources such as a VNET there are 2 main sources of export templates.

  1. You go to the VNET in the portal and under automation click the blade for “Export Template.” This will then give you a downloadable JSON template that can be used in a deployment. This is a template of how the VNETis currently configured. It will include subnets, route tables, Network Security Groups (NSG), and any other resource connected to the VNET.

  2. If you go to the resource group and select the “Deployments” blade, then scroll through to find the VNET. If you then click the VNET you can then access the template of the VNET as it was originally created. This again is downloadable and can then be deployed to a resource group.
    .
    Check out the article on how to export a template: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/export-template-portal
    Here is the article that explains how to deploy resources with ARM templates: https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/deploy-portal



If the reply was helpful please don't forget to upvote and/or accept as the answer, thank you

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.