DISASTER RECOVERY - LINUX UBUNTU 22.04

Gabriel Moraes 370 Reputation points
2024-04-29T13:43:56.12+00:00

Hello!

Would it be possible to enable Azure Disaster Recovery on an Ubuntu Linux VM? Actually, I’m not getting it.
Any help, I appreciate it.

Best regards,

Gabriel Moraes.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,280 questions
Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
717 questions
0 comments No comments
{count} votes

Accepted answer
  1. SadiqhAhmed-MSFT 46,036 Reputation points Microsoft Employee
    2024-04-29T14:42:24.4733333+00:00

    Hello @Gabriel Moraes Thank you for posting your question. Happy to help!

    Your question - Would it be possible to enable Azure Disaster Recovery on an Ubuntu Linux VM?
    YES, it possible to enable Azure Disaster Recovery on an Ubuntu Linux VM.

    Refer to the support matrix page: https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-support-matrix#supported-ubuntu-kernel-versions-for-azure-virtual-machines

    Here are the detailed steps to set up disaster recovery for a Linux Ubuntu 22.04 virtual machine:

    1. Create a Recovery Services vault in the Azure portal:
      • In the Azure portal, click on + Create a resource.
      • Search for Recovery Services vault and click on Create.
      • Enter a name for the vault, select the subscription, resource group, and region.
      • Click on Review + create and then click on Create.
    2. Create a Site Recovery resource in the Recovery Services vault:
      • In the Recovery Services vault, click on Site Recovery.
      • Click on + Prepare infrastructure and then click on Source.
      • Select Azure as the source and click on OK.
      • Click on + Create and link and then select the virtual machine that you want to protect.
      • Click on OK and then click on + Target.
      • Select Azure as the target and click on OK.
      • Click on + Create target and then select the subscription, resource group, and region for the target.
      • Click on OK and then click on Create.
    3. Create a replication policy for the virtual machine:
      • In the Recovery Services vault, click on Site Recovery.
      • Click on + Replication policy and then enter a name for the policy.
      • Select the RPO (Recovery Point Objective) value and the retention period.
      • Click on OK.
    4. Enable replication for the virtual machine:
      • In the Recovery Services vault, click on Site Recovery.
      • Click on the virtual machine that you want to protect.
      • Click on + Enable replication and then select the replication policy that you created.
      • Select the target region and the target virtual network.
      • Click on OK.

    Please refer to a similar discussion here - https://learn.microsoft.com/en-us/answers/questions/633577/azure-site-recovery-unsupported-ubuntu-kernel

    Hope this helps. Please feel free to reply if you have any questions or need further assistance.


    If the response helped, do "Accept Answer" and up-vote it

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Andriy Bilous 11,426 Reputation points MVP
    2024-04-29T14:43:55.19+00:00

    Hello @Gabriel Moraes

    Here are some prerequisites:

    1. Check permissions: Administrator or Virtual Machine Contributor and Site Recovery Contributor.
    2. Check VM versions and Kernel versions
      https://learn.microsoft.com/en-us/azure/site-recovery/azure-to-azure-support-matrix#supported-ubuntu-kernel-versions-for-azure-virtual-machines

    If you want to set up disaster recovery for an existing Linux virtual machines you can use following steps:

    1. n the Azure portal, open the VM properties page.
    2. In Operations, select Disaster recovery. Open disaster recovery options for an existing VM.
    3. In Basics, if the VM is deployed in an availability zone, you can select disaster recovery between availability zones.
    4. In Target region, select the region to which you want to replicate the VM. The source and target regions must be in the same Microsoft Entra tenant. Set the basic disaster recovery options for a VM.
    5. Select Next: Advanced settings.
    6. In Advanced settings, you can review settings, and modify values to custom settings. By default, Site Recovery mirrors the source settings to create target resources.
    7. Select Review + Start replication.

    Select Start replication. Deployment starts, and Site Recovery starts creating target resources. You can monitor replication progress in the notifications.

    Enable disaster recovery for an existing VMEnable disaster recovery for an existing VM

    0 comments No comments

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.