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/quick-backup-vm-template.md
+26-4Lines changed: 26 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,22 +4,41 @@ description: Learn how to back up your virtual machines with Azure Resource Mana
4
4
ms.devlang: azurecli
5
5
ms.topic: quickstart
6
6
ms.date: 05/14/2019
7
-
ms.custom: mvc
7
+
ms.custom: mvc,subject-armqs
8
8
---
9
9
10
10
# Back up a virtual machine in Azure with Resource Manager template
11
11
12
12
[Azure Backup](backup-overview.md) backs up on-premises machines and apps, and Azure VMs. This article shows you how to back up an Azure VM with Resource Manager template and Azure PowerShell. This quickstart focuses on the process of deploying a Resource Manager template to create a Recover Services vault. For more information on developing Resource Manager templates, see [Resource Manager documentation](/azure/azure-resource-manager/) and the [template reference](/azure/templates/microsoft.recoveryservices/allversions).
Alternatively, you can back up a VM using [Azure PowerShell](./quick-backup-vm-powershell.md), the [Azure CLI](quick-backup-vm-cli.md), or in the [Azure portal](quick-backup-vm-portal.md).
15
17
16
18
## Create a VM and Recovery Services vault
17
19
18
20
A [Recovery Services vault](backup-azure-recovery-services-vault-overview.md) is a logical container that stores backup data for protected resources, such as Azure VMs. When a backup job runs, it creates a recovery point inside the Recovery Services vault. You can then use one of these recovery points to restore data to a given point in time.
19
21
22
+
### Review the template
23
+
20
24
The template used in this quickstart is from [Azure quickstart templates](https://azure.microsoft.com/resources/templates/101-recovery-services-create-vm-and-configure-backup/). This template allows you to deploy simple Windows VM and Recovery Services Vault configured with the DefaultPolicy for Protection.
21
25
22
-
To deploy the template, select **Try it** to open the Azure Cloud shell, and then paste the following PowerShell script into the shell window. To paste the code, right-click the shell window and then select **Paste**.
To deploy the template, select **Try it** to open the Azure Cloud Shell, and then paste the following PowerShell script into the shell window. To paste the code, right-click the shell window and then select **Paste**.
23
42
24
43
```azurepowershell-interactive
25
44
$projectName = Read-Host -Prompt "Enter a project name (limited to eight characters) that is used to generate Azure resource names"
Azure PowerShell is used to deploy the Resource Manager template in this quickstart. The [Azure portal](../azure-resource-manager/templates/deploy-portal.md), [Azure CLI](../azure-resource-manager/templates/deploy-cli.md), and [Rest API](../azure-resource-manager/templates/deploy-rest.md) can also be used to deploy templates.
39
58
40
-
## Start a backup job
59
+
## Validate the deployment
60
+
61
+
### Start a backup job
41
62
42
63
The template creates a VM and enables back on the VM. After you deploy the template, you need to start a backup job. For more information, see [Start a backup job](./quick-backup-vm-powershell.md#start-a-backup-job).
43
64
44
-
## Monitor the backup job
65
+
###Monitor the backup job
45
66
46
67
To monitor the backup job, see [Monitor the backup job](./quick-backup-vm-powershell.md#monitor-the-backup-job).
47
68
@@ -67,3 +88,4 @@ In this quickstart, you created a Recovery Services vault, enabled protection on
67
88
68
89
-[Learn how](tutorial-backup-vm-at-scale.md) to back up VMs in the Azure portal.
69
90
-[Learn how](tutorial-restore-disk.md) to quickly restore a VM
91
+
-[Learn how](../azure-resource-manager/templates/template-tutorial-create-first-template.md) to create Resource Manager templates.
0 commit comments