Skip to content

Commit 480c834

Browse files
authored
Merge pull request #107979 from mumian/0317-backup
make the arm quickstart article compliant with the contributor guide
2 parents 76847db + 080d007 commit 480c834

File tree

2 files changed

+37
-15
lines changed

2 files changed

+37
-15
lines changed

articles/backup/quick-backup-vm-template.md

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,41 @@ description: Learn how to back up your virtual machines with Azure Resource Mana
44
ms.devlang: azurecli
55
ms.topic: quickstart
66
ms.date: 05/14/2019
7-
ms.custom: mvc
7+
ms.custom: mvc,subject-armqs
88
---
99

1010
# Back up a virtual machine in Azure with Resource Manager template
1111

1212
[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).
1313

14+
[!INCLUDE [About Azure Resource Manager](../../includes/resource-manager-quickstart-introduction.md)]
15+
1416
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).
1517

1618
## Create a VM and Recovery Services vault
1719

1820
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.
1921

22+
### Review the template
23+
2024
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.
2125

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**.
26+
:::code language="json" source="~/quickstart-templates/101-recovery-services-create-vm-and-configure-backup/azuredeploy.json" range="1-247" highlight="221-245":::
27+
28+
The resources defined in the template are:
29+
30+
- [**Microsoft.Storage/storageAccounts**](/azure/templates/microsoft.storage/storageaccounts)
31+
- [**Microsoft.Network/publicIPAddresses**](/azure/templates/microsoft.network/publicipaddresses)
32+
- [**Microsoft.Network/networkSecurityGroups**](/azure/templates/microsoft.network/networksecuritygroups)
33+
- [**Microsoft.Network/virtualNetworks**](/azure/templates/microsoft.network/virtualnetworks)
34+
- [**Microsoft.Network/networkInterfaces**](/azure/templates/microsoft.network/networkinterfaces)
35+
- [**Microsoft.Compute/virutalMachines**](/azure/templates/microsoft.compute/virtualmachines)
36+
- [**Microsoft.RecoveryServices/vaults**](/azure/templates/microsoft.recoveryservices/vaults)
37+
- [**Microsoft.RecoveryServices/vaults/backupFabrics/protectionContainers/protectedItems**](/azure/templates/microsoft.recoveryservices/vaults/backupfabrics/protectioncontainers/protecteditems)
38+
39+
### Deploy the template
40+
41+
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**.
2342

2443
```azurepowershell-interactive
2544
$projectName = Read-Host -Prompt "Enter a project name (limited to eight characters) that is used to generate Azure resource names"
@@ -37,11 +56,13 @@ New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri
3756

3857
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.
3958

40-
## Start a backup job
59+
## Validate the deployment
60+
61+
### Start a backup job
4162

4263
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).
4364

44-
## Monitor the backup job
65+
### Monitor the backup job
4566

4667
To monitor the backup job, see [Monitor the backup job](./quick-backup-vm-powershell.md#monitor-the-backup-job).
4768

@@ -67,3 +88,4 @@ In this quickstart, you created a Recovery Services vault, enabled protection on
6788

6889
- [Learn how](tutorial-backup-vm-at-scale.md) to back up VMs in the Azure portal.
6990
- [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.

articles/backup/toc.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
href: quick-backup-vm-powershell.md
1616
- name: Back up a VM - CLI
1717
href: quick-backup-vm-cli.md
18-
- name: Back up a VM - Resource Manager template
19-
displayName: ARM
18+
- name: Back up a VM - ARM template
19+
displayName: Resource Manager
2020
href: quick-backup-vm-template.md
2121
- name: Tutorials
2222
items:
@@ -40,11 +40,11 @@
4040
href: tutorial-backup-restore-files-windows-server.md
4141
- name: SAP HANA databases on Azure VMs – using CLI
4242
items:
43-
- name: Backup SAP HANA databases - CLI
43+
- name: Backup SAP HANA databases - CLI
4444
href: tutorial-sap-hana-backup-cli.md
4545
- name: Restore SAP HANA databases - CLI
4646
href: tutorial-sap-hana-restore-cli.md
47-
- name: Manage backed up SAP HANA databases - CLI
47+
- name: Manage backed up SAP HANA databases - CLI
4848
href: tutorial-sap-hana-manage-cli.md
4949
- name: Concepts
5050
items:
@@ -62,7 +62,7 @@
6262
href: sql-support-matrix.md
6363
- name: SAP HANA Backup support matrix
6464
href: sap-hana-backup-support-matrix.md
65-
- name: Supported VM SKUs for Azure Policy
65+
- name: Supported VM SKUs for Azure Policy
6666
href: backup-azure-policy-supported-skus.md
6767
- name: Frequently asked questions (FAQ)
6868
items:
@@ -90,13 +90,13 @@
9090
items:
9191
- name: Overview
9292
href: backup-azure-recovery-services-vault-overview.md
93-
- name: Create
93+
- name: Create
9494
href: backup-create-rs-vault.md
9595
- name: Delete
9696
href: backup-azure-delete-vault.md
97-
- name: Move
97+
- name: Move
9898
href: backup-azure-move-recovery-services-vault.md
99-
- name: Manage
99+
- name: Manage
100100
href: backup-azure-manage-windows-server.md
101101
- name: Azure VM backup
102102
items:
@@ -208,7 +208,7 @@
208208
href: backup-azure-sap-hana-database.md
209209
- name: Restore
210210
href: sap-hana-db-restore.md
211-
- name: Manage
211+
- name: Manage
212212
href: sap-hana-db-manage.md
213213
- name: Azure Backup Server (MABS)
214214
items:
@@ -272,9 +272,9 @@
272272
items:
273273
- name: Overview
274274
href: offline-backup-overview.md
275-
- name: Offline Backup with Azure Data Box
275+
- name: Offline Backup with Azure Data Box
276276
href: offline-backup-azure-data-box.md
277-
- name: Offline Backup with Import/Export (MARS)
277+
- name: Offline Backup with Import/Export (MARS)
278278
href: backup-azure-backup-import-export.md
279279
- name: Offline Backup with Import/Export (DPM/MABS)
280280
href: backup-azure-backup-server-import-export-.md

0 commit comments

Comments
 (0)