How to Set up Azure Site Recovery? Last Updated : 28 Apr, 2025 Comments Improve Suggest changes Like Article Like Report Azure Site Recovery is a service provided by Microsoft Azure that contributes to an organization's business continuity and disaster recovery (BCDR) strategy. It ensures that business-critical applications and workloads remain operational during both planned and unplanned outages. What are the Components of Azure Site Recovery?Site Recovery Service: This component helps maintain business continuity by replicating workloads running on physical and virtual machines (VMs) from a primary site to a secondary location (such as another data center or Azure region). In the event of an outage at the primary site, the service enables a failover to the secondary location, allowing access to applications from there. Once the primary location is operational again, you can fail back to it.Backup Service: Azure Backup service is another component of Azure Site Recovery, primarily focused on ensuring the safe storage and recoverability of data.What Replication Capabilities Does Site Recovery Offer?Replicate Azure VMs fromOne Azure region to another.Azure Public MEC to the Azure region it's connected to.One Azure Public MEC to another Public MEC connected to same Azure region.Replicate on-premises VMware VMs, Hyper-V VMs, physical servers (Windows and Linux), Azure Stack VMs to Azure.Replicate AWS Windows instances to Azure.Replicate on-premises VMware VMs, Hyper-V VMs managed by System Center VMM, and physical servers to a secondary site.What are the Key Site Recovery Features?Centralized Management: Easily set up and manage replication, failover, and failback from a single location in the Azure portal.Azure VM Replication: Enable disaster recovery for Azure VMs between regions or Azure Public MECs.VMware VM Replication: Replicate VMware VMs to Azure using improved Azure Site Recovery replication appliances.On-Premises VM Replication: Replicate on-premises VMs and physical servers to Azure or a secondary on-premises datacenter, eliminating the need for maintaining a secondary datacenter.Workload Replication: Replicate workloads from various sources, including supported Azure VMs, on-premises Hyper-V and VMware VMs, and Windows/Linux physical servers.Data Resilience: Replication without interfering with application data storage and data resilience in Azure.RTO and RPO Targets: Meet recovery time objectives (RTO) and recovery point objectives (RPO) with flexible replication frequencies.Application-Consistent Snapshots: Create snapshots for application-consistent recovery points.Testing without Disruption: Conduct disaster recovery drills without affecting ongoing replication.Flexible Failovers: Plan both expected and unexpected failovers with customizable failback options.Customized Recovery Plans: Customize and sequence multi-tier application failover and recovery.BCDR Integration: Integrate with other BCDR technologies, such as SQL Server Always On.Azure Automation Integration: Use Azure Automation scripts for production-ready integration.Network Integration: Manage application network settings, IP addresses, load balancers, and network switchovers within Azure.Steps to Set up Azure Site RecoveryStep 1: Create a Resource Group. HTML az group create --name azgroup --location southeastasia az group create is the command that is used for creating a Resource Group in Azure.--name: Assigns a name to the Resource Group--location: Refers to a physical data center or geographic region where Azure resources can be provisioned.Some common locations available in Azure are: East US, West Europe, Southeast Asia etc. Step 2: Create a Virtual Machine. HTML az vm create --resource-group azgroup --name azvm --image Win2019Datacenter --admin-username deepansh --admin-password Hello@12345# az vm create: Used to create a Virtual Machine in Azure.--resource-group: Specifies the target Resource Group for VM deployment.--name: Assigns a name to the Virtual Machine.--image: Specifies the VM image or operating system to use.--admin-username: Sets the administrator username for the VM.--admin-password: Sets the administrator password for the VM. Step 3: Verify the creation of the Resource Group and Virtual Machine. In the search bar, enter Resource Group and choose Resource Groups from the available options.On the next window, choose the recently created Resource Group. Step 4: Configuring Disaster Recovery. In the search bar, enter Virtual Machine and choose Virtual Machine from the available options.Select the recently created Virtual Machine. In the let-hand menu, under Operations, and then select the Disaster Recovery blade.Under the Basics tab, select the Target Region.Click on Next: Advanced Settings. Configure the Target Settings,Subscription: Select the target Subscription.VM Resource Group: Choose the target Vm Resource Group. It creates a new Resource group by default.Virtual Network: Choose the virtual network where we are deploying the VM; a new Virtual Network is created by default.Availability: Select target region's availability type,Single Instance: A standalone virtual machine or resource without redundancy or fault tolerance.Availability Set: A group of virtual machines within Azure that are designed to provide high availability by distributing them across multiple physical servers and racks to minimize the risk of downtime due to hardware failures or maintenance.Availability Zone: A physically separate and independent data center within an Azure region, providing fault isolation and redundancy to enhance the availability and reliability of Azure services and resources. Clcik on Review + Start Replication. Click on Start Replication.This may take a few minutes. Step 5: Navigating to the Replicated Items dashboard. In the search bar, search Recovery Services Vault.On the Recovery Services Vaults page, select the required Recovery Services vault.From the left-hand menu, under Protected Items, select Replicated Items.Select the required Virtual Machine. Note: Wait for the status to change to Protected before proceeding to the next step. Step 6: Performing a Test Failover. In the Replicated Items window, click on Test Failover.On the next window, configure the Test failover settings,Recovery point: Select a point in time snapshot to recover.Azure virtual network: The virtual machine will be connected to this network after failover. The network will only be used for this test failover.Click on Test Failover. Step 7: Cleanup Test Failover. In the Replicated Items window, click on Cleanup Test Failover.On the next window, tick the checkbox and then click OK. Step 8: Performing Failover. In the Replicated Items window, click on Failover.On the next window, tick the Shut down machine before beginning the failover option.Click on Failover.Once you have successfully failed over to Virtual Machine, you will have the following settings enabled: CommitResynchronizeChange Recovery PointRe-protect Basic TroubleshootingI see this error when I open Disaster recovery.If you encounter an error when opening Disaster Recovery, it might be due to your VM still being created. Wait 4-5 minutes for the resource deployment to complete.Replication Failure occurs.Replication failure in Azure or cloud services occurs when copying data or resources encounters issues, preventing successful replication.Replication can fail for various reasons, including:Resource Limitations: Resource limits, such as available storage, in the target environment may be exceeded.Access Permissions: Incorrect permissions or access control issues can prevent data from being replicated.Software or Configuration Errors: Errors in replication software or misconfigurations in replication settings can lead to failure.Data Conflicts: Conflicts or inconsistencies in the data being replicated can cause issues.I don't see a Recovery Point Objective when I open replicated items?It just means that Internal Synchronization is happening. Wait for the Status to change to Protected. Comment More infoAdvertise with us Next Article What is DevOps ? D deepansh8888 Follow Improve Article Tags : Geeks Premier League DevOps azure Geeks Premier League 2023 Similar Reads DevOps Tutorial DevOps is a combination of two words: "Development" and "Operations." Itâs a modern approach where software developers and software operations teams work together throughout the entire software life cycle.The goals of DevOps are:Faster and continuous software releases.Reduces manual errors through a 7 min read IntroductionWhat is DevOps ?DevOps is a modern way of working in software development in which the development team (who writes the code and builds the software) and the operations team (which sets up, runs, and manages the software) work together as a single team.Before DevOps, the development and operations teams worked sepa 10 min read DevOps LifecycleThe DevOps lifecycle is a structured approach that integrates development (Dev) and operations (Ops) teams to streamline software delivery. It focuses on collaboration, automation, and continuous feedback across key phases planning, coding, building, testing, releasing, deploying, operating, and mon 10 min read The Evolution of DevOps - 3 Major Trends for FutureDevOps is a software engineering culture and practice that aims to unify software development and operations. It is an approach to software development that emphasizes collaboration, communication, and integration between software developers and IT operations. DevOps has come a long way since its in 7 min read Version ControlVersion Control SystemsA Version Control System (VCS) is a tool used in software development and collaborative projects to track and manage changes to source code, documents, and other files. Whether you are working alone or in a team, version control helps ensure your work is safe, organized, and easy to collaborate on. 5 min read Merge Strategies in GitIn Git, merging is the process of taking the changes from one branch and combining them into another. The merge command in Git will compare the two branches and merge them if there are no conflicts. If conflicts arise, Git will ask the user to resolve them before completing the merge.Merge keeps all 4 min read Which Version Control System Should I Choose?While building a project, you need a system wherein you can track the modifications made. That's where Version Control System comes into the picture. It came into existence in 1972 at Bell Labs. The very first VCS made was SCCS (Source Code Control System) and was available only for UNIX. When any p 5 min read Continuous Integration (CI) & Continuous Deployment (CD)What is CI/CD?CI/CD is the practice of automating the integration of code changes from multiple developers into a single codebase. It is a software development practice where the developers commit their work frequently to the central code repository (Github or Stash). Then there are automated tools that build the 10 min read Understanding Deployment AutomationIn this article we will discuss deployment automation, categories in Automated Deployment, how automation can be implemented in deployment, how it is assisting DevOps and finally the benefits and drawbacks of Deployment Automation. So, let's start exploring the topic in detail. Deployment Automation 4 min read ContainerizationWhat is Docker?Have you ever wondered about the reason for creating Docker Containers in the market? Before Docker, there was a big issue faced by most developers whenever they created any code that code was working on that developer computer, but when they try to run that particular code on the server, that code 12 min read What is Dockerfile Syntax?Pre-requsites: Docker,DockerfileA Dockerfile is a script that uses the Docker platform to generate containers automatically. It is essentially a text document that contains all the instructions that a user may use to create an image from the command line. The Docker platform is a Linux-based platfor 5 min read Kubernetes - Introduction to Container OrchestrationIn this article, we will look into Container Orchestration in Kubernetes. But first, let's explore the trends that gave rise to containers, the need for container orchestration, and how that it has created the space for Kubernetes to rise to dominance and growth. The growth of technology into every 4 min read OrchestrationKubernetes - Introduction to Container OrchestrationIn this article, we will look into Container Orchestration in Kubernetes. But first, let's explore the trends that gave rise to containers, the need for container orchestration, and how that it has created the space for Kubernetes to rise to dominance and growth. The growth of technology into every 4 min read Fundamental Kubernetes Components and their role in Container OrchestrationKubernetes or K8s is an open-sourced container orchestration technology that is used for automating the manual processes of deploying, managing and scaling applications by the help of containers. Kubernetes was originally developed by engineers at Google and In 2015, it was donated to CNCF (Cloud Na 12 min read How to Use AWS ECS to Deploy and Manage Containerized Applications?Containers can be deployed for applications on the AWS cloud platform. AWS has a special application for managing containerized applications. Elastic Container Service (ECS) serves this purpose. ECS is AWS's container orchestration tool which simplifies the management of containers. All the containe 4 min read Infrastructure as Code (IaC)What is Infrastructure as Code (IaC)?Infrastructure as Code (IaC) is a method of managing and provisioning IT infrastructure using code rather than manual configuration. It allows teams to automate the setup and management of their infrastructure, making it more efficient and consistent. This is particularly useful in the DevOps enviro 7 min read Introduction to TerraformMany people wonder why we use Terraform when there are already so many Infrastructure as Code (IaC) tools out there. So, before learning Terraform, letâs understand why it was created.Terraform was made to solve some common problems with existing IaC tools. Some tools, like AWS CloudFormation, only 15 min read What is AWS Cloudformation?Amazon Web Services(AWS) offers cloud formation as a service by which you can provision and manage complicated services offered by AWS by using the code. CloudFormation will help you to manage the infrastructure and the services in the form of a declarative way. Table of ContentIntroduction to AWS C 14 min read Monitoring and LoggingWorking with Prometheus and Grafana Using HelmPre-requisite: HELM Package Manager Helm is a package manager for Kubernetes that allows you to install, upgrade, and manage applications on your Kubernetes cluster. With Helm, you can define, install, and upgrade your application using a single configuration file, called a Chart. Charts are easy to 5 min read Working with Monitoring and Logging ServicesPre-requisite: Google Cloud Platform Monitoring and Logging services are essential tools for any organization that wants to ensure the reliability, performance, and security of its systems. These services allow organizations to collect and analyze data about the health and behavior of their systems, 5 min read Microsoft Teams vs Slack Both Microsoft Teams and Slack are the communication channels used by organizations to communicate with their employees. Microsoft Teams was developed in 2017 whereas Slack was created in 2013. Microsoft Teams is mainly used in large organizations and is integrated with Office 365 enhancing the feat 4 min read Security in DevOpsWhat is DevSecOps: Overview and ToolsDevSecOps methodology is an extension of the DevOps model that helps development teams to integrate security objectives very early into the lifecycle of the software development process, giving developers the team confidence to carry out several security tasks independently to protect code from adva 10 min read DevOps Best Practices for KubernetesDevOps is the hot topic in the market these days. DevOps is a vague term used for wide number of operations, most agreeable defination of DevOps would be that DevOps is an intersection of development and operations. Certain practices need to be followed during the application release process in DevO 11 min read Like