Skip to content

Commit 8458e95

Browse files
committed
Editorial updates for clarity, freshness, and consistency
1 parent c5b76a4 commit 8458e95

File tree

2 files changed

+31
-14
lines changed

2 files changed

+31
-14
lines changed

articles/virtual-machines/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1244,7 +1244,7 @@
12441244
href: ../backup/restore-managed-disks.md?context=/azure/virtual-machines/context/context
12451245
- name: Backup and disaster recovery for disks
12461246
href: backup-and-disaster-recovery-for-azure-iaas-disks.md
1247-
- name: Snapshot a disk - PowerShell
1247+
- name: Snapshot a disk
12481248
href: snapshot-copy-managed-disk.md
12491249
- name: Backup unmanaged disks
12501250
href: ./linux/incremental-snapshots.md

articles/virtual-machines/snapshot-copy-managed-disk.md

Lines changed: 30 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ ms.date: 08/20/2021
1414

1515
**Applies to:** :heavy_check_mark: Linux VMs :heavy_check_mark: Windows VMs :heavy_check_mark: Flexible scale sets
1616

17-
A snapshot is a full, read-only copy of a virtual hard drive (VHD). You can take a snapshot of a VHD to use as a backup, or to troubleshoot virtual machine (VM) issues. You can take a snapshot of both operating system (OS) or data disk VHDs.
17+
A snapshot is a full, read-only copy of a virtual hard drive (VHD). You can use a snapshot as a point-in-time backup, or to help troubleshoot virtual machine (VM) issues. You can take a snapshot of both operating system (OS) or data disk VHDs.
1818

19-
If you want to use a snapshot to create a new VM, we recommend that you first cleanly shut down the VM. This action clears any processes that are in progress.
19+
If you want to use a snapshot to create a new VM, ensure that you first cleanly shut down the VM. This action clears any processes that are in progress.
20+
21+
## Create a snapshot of a virtual hard drive
2022

2123
# [Portal](#tab/portal)
2224

@@ -29,16 +31,17 @@ To create a snapshot using the Azure portal, complete these steps.
2931
1. Enter a **Name**, then select a **Region** and **Snapshot type** for the new snapshot.
3032

3133
> [!NOTE]
32-
> If you would like to store your snapshot in zone-resilient storage, you need to select a region that supports [availability zones](../availability-zones/az-overview.md). You are not able to utilize zone-redundant storage in a region that does not support availability zones. A list of [availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones) can be found [here](../availability-zones/az-region.md#azure-regions-with-availability-zones).
34+
> If you would like to store your snapshot in zone-resilient storage, you need to select a region that supports [availability zones](../availability-zones/az-overview.md). For a list of supporting regions, see [Azure regions with availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones).
3335
3436
1. For **Source subscription**, select the subscription that contains the managed disk to be backed up.
3537
1. For **Source disk**, select the managed disk to snapshot.
3638
1. For **Storage type**, select **Standard HDD**, unless you require zone-redundant storage or high-performance storage for your snapshot.
37-
1. Select **Review** and **Create**.
39+
1. If needed, configure settings on the **Encryption**, **Networking**, and **Tags** tabs. Otherwise, default settings will be used for your snapshot.
40+
1. Select **Review + create**.
3841

3942
# [PowerShell](#tab/powershell)
4043

41-
Follow these steps to copy a VHD using PowerShell. This example assumes that your snapshot will be stored in the same resource group and within the same region as your source VM.
44+
Follow these steps to copy a VHD using PowerShell. This example assumes that you have a VM called *myVM* in the *myResourceGroup* resource group. The code sample provided will create a snapshot in the same resource group and within the same region as your source VM.
4245

4346
First, you'll use the [New-AzSnapshotConfig](/powershell/module/az.compute/new-azsnapshotconfig.cmd) cmdlet to create a configurable snapshot object. You can then use the [New-AzSnapshot](/powershell/module/az.compute/new-azsnapshot.cmd) cmdlet to take a snapshot of the disk.
4447

@@ -51,15 +54,15 @@ First, you'll use the [New-AzSnapshotConfig](/powershell/module/az.compute/new-a
5154
$snapshotName = 'mySnapshot'
5255
```
5356

54-
1. Use the [Get-AzVM](/powershell/module/az.compute/get-azvm.md?view=azps-6.3.0&preserve-view=true) cmdlet to get the VM containing the VHD you want to copy.
57+
1. Use the [Get-AzVM](/powershell/module/az.compute/get-azvm.md) cmdlet to get the VM containing the VHD you want to copy.
5558

5659
```azurepowershell-interactive
5760
$vm = Get-AzVM `
5861
-ResourceGroupName $resourceGroupName `
5962
-Name $vmName
6063
```
6164

62-
1. Create the snapshot configuration. In this example, the snapshot is of the OS disk.
65+
1. Create the snapshot configuration. In the example, the snapshot is of the OS disk. By default, the snapshot uses locally redundant standard storage. We recommend that you store your snapshots in standard storage instead of premium storage whatever the storage type of the parent disk or target disk. Premium snapshots incur additional cost.
6366

6467
```azurepowershell-interactive
6568
$snapshot = New-AzSnapshotConfig `
@@ -69,7 +72,7 @@ First, you'll use the [New-AzSnapshotConfig](/powershell/module/az.compute/new-a
6972
```
7073

7174
> [!NOTE]
72-
> If you would like to store your snapshot in zone-resilient storage, create it in a region that supports [availability zones](../availability-zones/az-overview.md) and include the `-SkuName Standard_ZRS` parameter. A list of [availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones) can be found here.
75+
> If you want to store your snapshot in zone-resilient storage, you must create the snapshot in a region that supports [availability zones](../availability-zones/az-overview.md) and include the '-SkuName Standard_ZRS' parameter. For a list of regions that support availability zones, see [Azure regions with availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones).
7376
7477
1. Take the snapshot.
7578

@@ -80,7 +83,7 @@ First, you'll use the [New-AzSnapshotConfig](/powershell/module/az.compute/new-a
8083
-ResourceGroupName $resourceGroupName
8184
```
8285

83-
1. Use the [Get-AzSnapshot](/powershell/module/az.compute/get-azsnapshot.md?view=azps-6.3.0&preserve-view=true) cmdlet to verify that your snapshot exists.
86+
1. Use the [Get-AzSnapshot](/powershell/module/az.compute/get-azsnapshot.md) cmdlet to verify that your snapshot exists.
8487

8588
```azurepowershell-interactive
8689
Get-AzSnapshot
@@ -90,7 +93,7 @@ First, you'll use the [New-AzSnapshotConfig](/powershell/module/az.compute/new-a
9093
9194
This example requires that you use [Cloud Shell](https://shell.azure.com/bash) or have the [Azure CLI][/cli/azure/] installed.
9295
93-
Use these steps to take a snapshot with the **az snapshot create** command and the **--source-disk** parameter. This example assumes that you have a VM called *myVM* in the *myResourceGroup* resource group.
96+
Use these steps to take a snapshot with the **az snapshot create** command and the **--source-disk** parameter. This example assumes that you have a VM called *myVM* in the *myResourceGroup* resource group. The code sample provided will create a snapshot in the same resource group and within the same region as your source VM.
9497
9598
1. Get the disk ID with [az vm show](/cli/azure/vm#az_vm_show).
9699
@@ -102,7 +105,7 @@ Use these steps to take a snapshot with the **az snapshot create** command and t
102105
-o tsv)
103106
```
104107
105-
1. Take a snapshot named *osDisk-backup* using [az snapshot create](/cli/azure/snapshot#az_snapshot_create).
108+
1. Take a snapshot named *osDisk-backup* using [az snapshot create](/cli/azure/snapshot#az_snapshot_create). In the example, the snapshot is of the OS disk. By default, the snapshot uses locally redundant standard storage. We recommend that you store your snapshots in standard storage instead of premium storage whatever the storage type of the parent disk or target disk. Premium snapshots incur additional cost.
106109
107110
```azurecli-interactive
108111
az snapshot create \
@@ -112,7 +115,7 @@ Use these steps to take a snapshot with the **az snapshot create** command and t
112115
```
113116
114117
> [!NOTE]
115-
> If you would like to store your snapshot in zone-resilient storage, you need to create it in a region that supports [availability zones](../availability-zones/az-overview.md) and include the **--sku Standard_ZRS** parameter. A list of [availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones) can be found here.
118+
> If you would like to store your snapshot in zone-resilient storage, you need to create it in a region that supports [availability zones](../availability-zones/az-overview.md) and include the optional **--sku Standard_ZRS** parameter. A list of [availability zones](../availability-zones/az-region.md#azure-regions-with-availability-zones) can be found here.
116119
117120
1. Use [az snapshot list](/cli/azure/snapshot#az_snapshot_list) to verify that your snapshot exists.
118121
@@ -126,4 +129,18 @@ Use these steps to take a snapshot with the **az snapshot create** command and t
126129
127130
## Next steps
128131
129-
Deploy a virtual machine from a snapshot. Create a managed disk from a snapshot and then attach the new managed disk as the OS disk. For more information, see the example in [Create a VM from a snapshot with PowerShell](/previous-versions/azure/virtual-machines/scripts/virtual-machines-windows-powershell-sample-create-vm-from-snapshot).
132+
Deploy a virtual machine from a snapshot. Create a managed disk from a snapshot and then attach the new managed disk as the OS disk.
133+
134+
# [Portal](#tab/portal)
135+
136+
For more information, see the example in [Create a VM from a VHD by using the Azure portal](/azure/virtual-machines/windows/create-vm-specialized-portal.md).
137+
138+
# [PowerShell](#tab/powershell)
139+
140+
For more information, see the example in [Create a Windows VM from a specialized disk by using PowerShell](/azure/virtual-machines/windows/create-vm-specialized.md).
141+
142+
# [Azure CLI](#tab/cli)
143+
144+
For more information, see the example in [Create a complete Linux virtual machine with the Azure CLI](/azure/virtual-machines/linux/create-cli-complete.md).
145+
146+
---

0 commit comments

Comments
 (0)