Vnet & route table configuration backup

Chandrakant Khomane 21 Reputation points
2021-12-28T17:00:45.01+00:00

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

Azure
Azure
A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.
1,409 questions
0 comments No comments
{count} votes

Accepted answer
  1. Ravi Kanth Koppala 3,391 Reputation points Microsoft Employee Moderator
    2021-12-29T13:35:15.543+00:00

    @Chandrakant Khomane ,

    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://learn.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://learn.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
    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.