You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-arm-vms-prepare.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,6 +65,9 @@ In addition, there are a couple of things that you might need to do in some circ
65
65
66
66

67
67
68
+
> [!NOTE]
69
+
> Azure Backup service creates a separate resource group (other than the VM resource group) to store snapshot, with the naming format **AzureBackupRG_geography_number** (example: AzureBackupRG_northeurope_1). The data in this resource group will be retained for the duration in days as specified in *Retain instant recovery snapshot* section of the Azure Virtual Machine Backup policy. Applying a lock to this resource group can cause backup failures.
70
+
68
71
### Modify storage replication
69
72
70
73
By default, vaults use [geo-redundant storage (GRS)](https://docs.microsoft.com/azure/storage/common/storage-redundancy-grs).
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-mars-troubleshoot.md
+25-5Lines changed: 25 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,29 @@ We recommend you perform the below validation, before you start troubleshooting
36
36
37
37
## Invalid vault credentials provided
38
38
39
-
| Error details | Possible causes | Recommended actions |
40
-
| --- | --- | --- |
41
-
| **Error** </br> *Invalid vault credentials provided. The file is either corrupted or does not have the latest credentials associated with recovery service. (ID: 34513)* | <ul><li> The vault credentials are invalid (that is, they were downloaded more than 48 hours before the time of registration).<li>MARS Agent is unable to download files to the Windows Temp directory. <li>The vault credentials are on a network location. <li>TLS 1.0 is disabled<li> A configured proxy server is blocking the connection. <br> | <ul><li>Download the new vault credentials.(**Note**: If multiple vault credential files are downloaded previously, only the latest downloaded file is valid within 48 hours.) <li>Launch **IE** > **Setting** > **Internet options** > **Security** > **Internet**. Next, select **Custom Level**, and scroll until you see the file download section. Then select **Enable**.<li>You might also have to add these sites in IE [trusted sites](https://docs.microsoft.com/azure/backup/backup-configure-vault#verify-internet-access).<li>Change the settings to use a proxy server. Then provide the proxy server details. <li> Match the date and time with your machine.<li>If you get an error stating that file downloads are not allowed, it is likely that there are a large number of files in the C:/Windows/Temp directory.<li>Go to C:/Windows/Temp and check whether there are more than 60,000 or 65,000 files with the .tmp extension. If there are, delete these files.<li>Ensure that you have .NET framework 4.6.2 installed. <li>If you have disabled TLS 1.0 due to PCI compliance, refer to this [troubleshooting page](https://support.microsoft.com/help/4022913). <li>If you have anti-virus software installed on the server, exclude the following files from the anti-virus scan: <ul><li>CBengine.exe<li>CSC.exe, which is related to .NET Framework. There is a CSC.exe for every .NET version that's installed on the server. Exclude CSC.exe files that are tied to all versions of .NET Framework on the affected server. <li>Scratch folder or cache location. <br>*The default location for the scratch folder or the cache location path is C:\Program Files\Microsoft Azure Recovery Services Agent\Scratch*.<br><li>The bin folder C:\Program Files\Microsoft Azure Recovery Services Agent\Bin
39
+
**Error message**: Invalid vault credentials provided. The file is either corrupted or does not have the latest credentials associated with recovery service. (ID: 34513)
40
+
41
+
| Cause | Recommended Action |
42
+
| --- | --- |
43
+
| **The vault credentials are invalid** <br/> <br/> Vault credential files might be corrupt or may have expired (i.e. downloaded more than 48 hours before the time of registration)| Download a new credential from Recovery Services vault from the Azure portal (see *Step 6* under [**Download the MARS agent**](https://docs.microsoft.com/azure/backup/backup-configure-vault#download-the-mars-agent) section) and perform the below: <ul><li> If you have already installed and registered Microsoft Azure Backup Agent, then open the Microsoft Azure Backup Agent MMC console and choose **Register Server** from Action Pane to complete the registration with the newly downloaded credentials <br/> <li> If the new installation failed then try re-installing using the new credentials</ul> **Note**: If multiple vault credential files are downloaded previously, only the latest downloaded file is valid within 48 hours. Hence it is recommended to download fresh new vault credentials file.
44
+
| **Proxy Server/firewall is blocking <br/>or <br/>No Internet connectivity** <br/><br/> If your machine or Proxy Server has limited Internet access then without listing the necessary URLs the registration will fail.| To resolve this issue, perform the below:<br/> <ul><li> Work with your IT team to ensure the system has Internet connectivity<li> If you do not have Proxy server, then ensure the proxy option is unselected when registering the agent, verify proxy settings steps listed [here](#verifying-proxy-settings-for-windows)<li> If you do have a firewall/proxy server then work with your networking team to ensure that below URLs and IP address have access<br/> <br> **URLs**<br> - *www.msftncsi.com* <br>- *.Microsoft.com* <br> - *.WindowsAzure.com* <br>- *.microsoftonline.com* <br>- *.windows.net* <br>**IP address**<br> - *20.190.128.0/18* <br> - *40.126.0.0/18* <br/></ul></ul>Try re-registering after you complete the above troubleshooting steps
45
+
| **Anti-virus software is blocking** | If you have anti-virus software installed on the server, then add necessary exclusion rules for the following files from the anti-virus scan: <br/><ui> <li> *CBengine.exe* <li> *CSC.exe*<li> Scratch folder, the default location is *C:\Program Files\Microsoft Azure Recovery Services Agent\Scratch* <li> Bin folder at *C:\Program Files\Microsoft Azure Recovery Services Agent\Bin*
46
+
47
+
### Additional recommendations
48
+
- Go to *C:/Windows/Temp* and check whether there are more than 60,000 or 65,000 files with the .tmp extension. If there are, delete these files
49
+
- Ensure the machine’s date and time is matching with local time zone
50
+
- Ensure the [following](backup-configure-vault.md#verify-internet-access) sites are added to IE trusted sites
51
+
52
+
### Verifying proxy settings for Windows
53
+
54
+
- Download **psexec** from [here](https://docs.microsoft.com/sysinternals/downloads/psexec)
55
+
- Run this `psexec -i -s "c:\Program Files\Internet Explorer\iexplore.exe"` command from elevated prompt:
56
+
- This will launch *Internet Explorer* window
57
+
- Go to *Tools* -> *Internet Options* -> *Connections* -> *LAN settings*
58
+
- Verify proxy settings for *System* account
59
+
- If no proxy is configured and proxy details are provided, then remove the details
60
+
- If proxy is configured and proxy details are incorrect, then ensure *Proxy IP* and *port* details are accurate
61
+
- Close *Internet Explorer*
42
62
43
63
## Unable to download vault credential file
44
64
@@ -100,11 +120,11 @@ If scheduled backups don't get triggered automatically, while manual backups wor
- Ensure there are no missing or corrupted **PowerShell** module **MSonlineBackup**. In case there are any missing or corrupt file, to resolve this issue perform the below:
123
+
- Ensure there are no missing or corrupted **PowerShell** module **MSonlineBackup**. In case there is any missing or corrupt file, to resolve this issue perform the below:
104
124
105
125
- From any machine having MARS agent that is working properly, copy the MSOnlineBackup folder from *(C:\Program Files\Microsoft Azure Recovery Services Agent\bin\Modules)* path.
106
126
- Paste this in problematic machine in the same path *(C:\Program Files\Microsoft Azure Recovery Services Agent\bin\Modules)*.
107
-
- If **MSOnlineBackup** folder is already exists in the machine, paste or replace the content files inside it.
127
+
- If **MSOnlineBackup** folder is already existed in the machine, paste or replace the content files inside it.
Copy file name to clipboardExpand all lines: articles/backup/backup-azure-vms-first-look-arm.md
+12-16Lines changed: 12 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: rayne-wiselman
6
6
manager: carmonm
7
7
ms.service: backup
8
8
ms.topic: conceptual
9
-
ms.date: 02/17/2019
9
+
ms.date: 06/13/2019
10
10
ms.author: raynew
11
11
---
12
12
# Back up an Azure VM from the VM settings
@@ -16,27 +16,27 @@ This article explains how to back up Azure VMs with the [Azure Backup](backup-ov
16
16
- Single Azure VM: The instructions in this article describe how to back up an Azure VM directly from the VM settings.
17
17
- Multiple Azure VMs: You can set up a Recovery Services vault and configure backup for multiple Azure VMs. Follow the instructions in [this article](backup-azure-arm-vms-prepare.md) for this scenario.
18
18
19
-
19
+
20
20
21
21
## Before you start
22
22
23
-
1.[Learn](backup-architecture.md#how-does-azure-backup-work) how backup works, and [verify](backup-support-matrix.md#azure-vm-backup-support) support requirements.
23
+
1.[Learn](backup-architecture.md#how-does-azure-backup-work) how backup works, and [verify](backup-support-matrix.md#azure-vm-backup-support) support requirements.
24
24
2.[Get an overview](backup-azure-vms-introduction.md) of Azure VM backup.
25
25
26
26
### Azure VM agent installation
27
27
28
-
In order to back up Azure VMs, Azure Backup installs an extension on the VM agent running on the machine. If your VM was created from an Azure marketplace image, the agent will be running. In some cases, for example if you create a custom VM, or you migrate a machine from on-premises. you might need to install the agent manually.
28
+
In order to back up Azure VMs, Azure Backup installs an extension on the VM agent running on the machine. If your VM was created from an Azure marketplace image, the agent will be running. In some cases, for example if you create a custom VM, or you migrate a machine from on-premises. you might need to install the agent manually.
29
29
30
-
- If you do need to install the VM agent manually, follow the instructions for [Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/agent-windows) or [Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/agent-linux) VMs.
30
+
- If you do need to install the VM agent manually, follow the instructions for [Windows](https://docs.microsoft.com/azure/virtual-machines/extensions/agent-windows) or [Linux](https://docs.microsoft.com/azure/virtual-machines/extensions/agent-linux) VMs.
31
31
- After the agent is installed, when you enable backup, Azure Backup installs the backup extension to the agent. It updates and patches the extension without user intervention.
32
32
33
33
## Back up from Azure VM settings
34
34
35
35
36
36
1. Sign in to the [Azure portal](https://portal.azure.com/).
37
-
2. Click **All services** and in the Filter, type **Virtual machines**, and then click **Virtual machines**.
37
+
2. Click **All services** and in the Filter, type **Virtual machines**, and then click **Virtual machines**.
38
38
3. From the list of VMs select the VM you want to back up.
39
-
4. On the VM menu, click **Backup**.
39
+
4. On the VM menu, click **Backup**.
40
40
5. In **Recovery Services vault**, do the following:
41
41
- If you already have a vault, click **Select existing**, and select a vault.
42
42
- If you don't have a vault, click **Create new**. Specify a name for the vault. It's created in the same region and resource group as the VM. You can't modify these settings when you enable backup directly from the VM settings.
@@ -51,7 +51,7 @@ In order to back up Azure VMs, Azure Backup installs an extension on the VM agen
@@ -63,23 +63,20 @@ In order to back up Azure VMs, Azure Backup installs an extension on the VM agen
63
63
10. After enabling backup, an initial backup runs. You can start the initial backup immediately, or wait until it starts in accordance with the backup schedule.
64
64
- Until the initial backup completes, the **Last backup status** shows as **Warning (Initial backup pending)**.
65
65
- To see when the next scheduled backup will run, click the backup policy name.
66
-
67
-
68
66
69
-
> [!NOTE]
70
-
> Azure Backup creates a separate resource group (other than the VM resource group) to store restore points, with the naming format **AzureBackupRG_geography_number** (example:
71
-
AzureBackupRG_northeurope_1). You shouldn't lock this resource group.
72
67
68
+
> [!NOTE]
69
+
> Azure Backup service creates a separate resource group (other than the VM resource group) to store snapshot, with the naming format **AzureBackupRG_geography_number** (example: AzureBackupRG_northeurope_1). The data in this resource group will be retained for the duration in days as specified in “Retain instant recovery snapshot” section of the Azure Virtual Machine Backup policy. Applying a lock to this resource group can cause backup failures.
73
70
74
71
75
-
## Run a backup immediately
72
+
## Run a backup immediately
76
73
77
74
1. To run a backup immediately, in the VM menu, click **Backup** > **Backup now**.
> Azure Backup service creates a separate resource group (other than the VM resource group) to store snapshot, with the naming format **AzureBackupRG_geography_number** (example: AzureBackupRG_northeurope_1). The data in this resource group will be retained for the duration in days as specified in *Retain instant recovery snapshot* section of the Azure Virtual Machine Backup policy. Applying a lock to this resource group can cause backup failures.
49
53
50
54
51
-
## Start a backup after creating the VM
55
+
## Start a backup after creating the VM
52
56
53
-
Your VM backup will run in accordance with your backup policy. However, we recommend that you run an initial backup.
57
+
Your VM backup will run in accordance with your backup policy. However, we recommend that you run an initial backup.
54
58
55
59
After the VM is created, do the following:
56
60
57
61
1. In the VM properties, click **Backup**. The VM status is Initial Backup Pending until the initial backup runs
58
62
2. Click **Back up now** to run an on-demand backup.
59
63
60
-

64
+

61
65
62
66
## Use a Resource Manager template to deploy a protected VM
63
67
64
68
The previous steps explain how to use the Azure portal to create a virtual machine and protect it in a Recovery Services vault. To quickly deploy one or more VMs and protect them in a Recovery Services vault, see the template [Deploy a Windows VM and enable backup](https://azure.microsoft.com/resources/templates/101-recovery-services-create-vm-and-configure-backup/).
65
69
66
70
67
71
68
-
## Next steps
72
+
## Next steps
69
73
70
74
Now that you've protected your VM, learn how to manage and restore them.
71
75
72
-
-[Manage and monitor VMs](backup-azure-manage-vms.md)
73
-
-[Restore VM](backup-azure-arm-restore-vms.md)
76
+
-[Manage and monitor VMs](backup-azure-manage-vms.md)
77
+
-[Restore VM](backup-azure-arm-restore-vms.md)
74
78
75
79
If you encounter any issues, [review](backup-azure-vms-troubleshoot.md) the troubleshooting guide.
0 commit comments