Skip to content

Commit cf0087e

Browse files
authored
Merge pull request #179315 from v-bllyd/patch-21
Create backup-azure-encrypted-vm-troubleshoot.md
2 parents 910efb2 + c93fb75 commit cf0087e

File tree

3 files changed

+77
-1
lines changed

3 files changed

+77
-1
lines changed
Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
---
2+
title: Troubleshoot encrypted Azure VM backup errors
3+
description: Describes how to troubleshoot common errors that might occur when you use Azure Backup to back up an encrypted VM.
4+
ms.topic: troubleshooting
5+
ms.date: 11/9/2021
6+
---
7+
8+
# Troubleshoot backup failures on encrypted Azure virtual machines
9+
10+
You can troubleshoot common errors encountered while using Azure Backup service to back up encrypted Azure virtual machines with the steps listed below:
11+
12+
## Before you start
13+
14+
1. Review below limitations and supported configurations:
15+
- You can back up and restore ADE encrypted VMs within the same subscription.
16+
- Azure Backup supports VMs encrypted using standalone keys. Any key that's a part of a certificate used to encrypt a VM isn't currently supported.
17+
- Azure Backup supports Cross Region Restore of encrypted Azure VMs to the [Azure paired regions](../best-practices-availability-paired-regions.md#azure-regional-pairs).
18+
- ADE encrypted VMs cannot be recovered at the file/folder level. You must recover the entire VM to restore files and folders.
19+
- When restoring a VM, you cannot use 'replace existing VM' option for ADE encrypted VMs. See, [steps to restore encrypted Azure virtual machines](restore-azure-encrypted-virtual-machines.md)
20+
2. Review the [support matrix](backup-support-matrix.md#cross-region-restore) for a list of supported managed types and regions
21+
3. Learn more about encryption support using [Azure Disk Encryption(ADE)](backup-azure-vms-encryption.md#encryption-support-using-ade), [customer-managed keys(CMk)](backup-azure-vms-encryption.md#encryption-using-customer-managed-keys) and [platform-managed keys(PMK)](backup-azure-vms-encryption.md#encryption-using-platform-managed-keys)
22+
23+
## Common error codes
24+
25+
This section provides steps to troubleshoot common errors that you might see.
26+
27+
## UserErrorEncryptedVmNotSupportedWithDiskEx
28+
29+
Error message: Disk exclusion is not supported for encrypted virtual machines.
30+
31+
Backup operation failed because selective disk backup is currently not supported for encrypted VMs. Review [selective disk backup limitations](selective-disk-backup-restore.md#limitations).
32+
33+
## UserErrorKeyVaultPermissionsNotConfigured
34+
35+
Error message: Backup doesn't have sufficient permissions to the key vault for backup of encrypted VMs.
36+
37+
Backup operation failed because the encrypted VMs do not have the required permissions to access the key vault.
38+
Permissions can be set through [Azure portal](./backup-azure-vms-encryption.md#provide-permissions) or through [PowerShell](./backup-azure-vms-automation.md#enable-protection).
39+
40+
## DiskEncryptionInternalError
41+
42+
Error message: Unknown error encountered when retrieving secret from the Key Vault with URL
43+
44+
Restore operation of encrypted VM failed because of the missing key-vault key or secret.
45+
To resolve this issue, [restore the Key-Vault key or secret](backup-azure-restore-key-secret.md) and [create encrypted VMs from restored disk, key, and secret](backup-azure-vms-automation.md#create-a-vm-from-restored-disks).
46+
47+
## BCMProtGetSaSUriAsyncError
48+
49+
Error message: Backup failed in allocating storage from protection service
50+
51+
Backup operation failed because Azure Key Vault do not have required access to the Recovery Service Vault. [Assign required permissions to the vault to access the encryption key](/azure/backup/encryption-at-rest-with-cmk?tabs=portal#assign-user-assigned-managed-identity-to-the-vault-in-preview) and retry the operation.
52+
53+
54+
## Next steps
55+
56+
- [Step-by-step instructions to backup encrypted Azure virtual machines](backup-azure-vms-encryption.md)
57+
- [Step-by-step instructions to restore encrypted Azure virtual machines](restore-azure-encrypted-virtual-machines.md)

articles/backup/backup-azure-vm-backup-faq.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,11 @@ sections:
131131
- question: Will a new disk added to VM be backed up automatically?
132132
answer: |
133133
Yes, a new disk added to a VM will be backed up automatically during the next backup.
134+
135+
136+
- question: Can I restore the files and folders from an encrypted VM backup?
137+
answer: |
138+
Restoring files and folders from encrypted VM backup is currently not supported, you must recover the entire VM to restore files and folders. See, [steps to restore an encrypted Azure Virtual machine](restore-azure-encrypted-virtual-machines.md).
134139
135140
136141
- name: Restore
@@ -250,10 +255,22 @@ sections:
250255
- You can also use the [private endpoints](private-endpoints.md) to restrict access to the iSCSI server from within the private network.
251256
- You can also disable this option across an organization using the [deny assignment](../role-based-access-control/deny-assignments.md) feature.
252257
253-
- question: I've changed the retention policy, what's the time needed for the policy to be effective?
258+
- question: I have changed the retention policy, what is the time needed for the policy to be effective?
254259
answer: |
255260
The policy takes effect immediately after the modifications of the parameters, such as retention, schedule, and so on. This is applicable for all new backups taken from the modified policy. However, the pruning of the recovery points (if applicable) according to the new policy takes 24 hours.
256261
262+
- question: How do I extend or reduce the retention of a specific recovery point?
263+
answer: |
264+
This feature is currently not supported. You can post any feature ask in the [Azure Backup community](https://feedback.azure.com/d365community/forum/153aa817-0725-ec11-b6e6-000d3a4f0858#) portal.
265+
266+
- question: How to modify retention period for Stopped backups?
267+
answer: |
268+
Retention of stopped backups cannot be modified since they do not have any policy attached to it. However, you can [resume protection](/azure/backup/backup-azure-manage-vms#resume-protection-of-a-vm) and assign a policy.
269+
270+
- question: How long are the stopped backups retained?
271+
answer: |
272+
Stopped backups are retained until manually deleted.
273+
257274
- question: I’m unable to select a virtual network, subnet, or storage account in the secondary region when performing a Cross Region Restore.
258275
answer: |
259276
You need to check the subscription permissions in the secondary region. Write to us at [[email protected]](mailto:[email protected]) for subscription enrollment.

articles/backup/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -589,6 +589,8 @@
589589
href: backup-azure-vm-file-recovery-troubleshoot.md
590590
- name: Azure Backup agent or VM extension timed out
591591
href: backup-azure-troubleshoot-vm-backup-fails-snapshot-timeout.md
592+
- name: Encrypted Azure VM backup
593+
href: backup-azure-encrypted-vm-troubleshoot.md
592594
- name: Azure Backup agent
593595
href: backup-azure-mars-troubleshoot.md
594596
- name: Files and folders backup is slow

0 commit comments

Comments
 (0)