Azure VM Backup and Recovery Guide
1. Prerequisites
- An active Azure subscription
- A Recovery Services Vault created in your desired region
- Proper RBAC permissions (Backup Contributor or higher)
- Azure VM(s) running in the same region as the vault
2. Steps to Configure Azure VM Backup
Step 1: Create a Recovery Services Vault
- Sign in to the Azure Portal.
- Search for Recovery Services Vaults.
- Click + Add → provide Name, Subscription, Resource Group, and Region.
- Click Review + Create → Create.
Step 2: Enable Backup for VM
- Open the Recovery Services Vault.
- In the left menu, select Backup.
- Under Where is your workload running?, choose Azure.
- Under What do you want to backup?, select Virtual Machine.
- Click Backup → select the VM(s) you want to protect.
- Configure a Backup Policy:
- Daily/weekly schedule
- Retention period (short-term and long-term)
- Save the policy → backup is enabled.
Step 3: Trigger Initial Backup
- Go to the Vault → Backup Items → Azure Virtual Machine.
- Select the VM → click Backup Now.
- Choose a Retention Date → click OK.
- Monitor job progress under Backup Jobs.
3. Steps to Restore Azure VM
Option A: Restore Entire VM
- In the Recovery Services Vault, go to Backup Items → Azure Virtual Machine.
- Select the VM → click Restore VM.
- Choose a Restore Point (snapshot).
- Select restore type:
- Create new VM (recommended for testing or disaster recovery).
- Replace existing VM (use with caution).
- Provide VM details (name, resource group, network).
- Click Restore → monitor job under Backup Jobs.
Option B: File-Level Recovery
- In the Vault → Backup Items → Azure Virtual Machine, select the VM.
- Click File Recovery.
- Choose a Restore Point.
- Download the script file provided by Azure.
- Run the script on your local machine → mounts the recovery point as a drive.
- Browse and copy required files/folders.
- Disconnect the mounted drive after recovery.
4. Best Practices
- Always test restores periodically to validate backup integrity.
- Enable Soft Delete to protect against accidental backup deletion.
- Use Azure Monitor alerts for backup job failures.
- Align retention policies with compliance requirements.
Leave a Reply