How to Set up Azure Site Recovery? (original) (raw)

Last Updated : 28 Apr, 2025

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?

What Replication Capabilities Does Site Recovery Offer?

What are the Key Site Recovery Features?

Steps to Set up Azure Site Recovery

**Step 1: Create a Resource Group.

HTML `

az group create --name azgroup --location southeastasia

`

imgonline-com-ua-resize-EwwPG0tbZr94

**Step 2: Create a Virtual Machine.

HTML `

az vm create --resource-group azgroup --name azvm --image Win2019Datacenter --admin-username deepansh --admin-password Hello@12345#

`

imgonline-com-ua-resize-yVfCTaBMxWxNunCV

**Step 3: Verify the creation of the Resource Group and Virtual Machine.

imgonline-com-ua-resize-RK1iSYUjdSPTHL

**Step 4: Configuring Disaster Recovery.

imgonline-com-ua-resize-jMpMa9tdFzns

imgonline-com-ua-resize-p13gGM7SK1kTYfA4

imgonline-com-ua-resize-1kFX7RVpdt

**Step 5: Navigating to the **Replicated Items dashboard.

imgonline-com-ua-resize-OCIchLQHqz

**Note: Wait for the status to change to **Protected before proceeding to the next step.

**Step 6: Performing a **Test Failover.

imgonline-com-ua-resize-mxtfOwqfvKok

**Step 7: Cleanup Test Failover.

imgonline-com-ua-resize-XE2ZMA9hWbNSstG

**Step 8: Performing **Failover.

Once you have successfully failed over to Virtual Machine, you will have the following settings enabled:

imgonline-com-ua-resize-Crk3A4t0aYLL

Basic Troubleshooting

  1. **I see this error when I open Disaster recovery.
    imgonline-com-ua-resize-BdhI2M0mzTGunDdbIf 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.
  2. **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.
  3. **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.