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/storage/container-storage/volume-snapshot-restore.md
+6-7Lines changed: 6 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: Take a point-in-time snapshot of a persistent volume and restore it
4
4
author: khdownie
5
5
ms.service: azure-container-storage
6
6
ms.topic: how-to
7
-
ms.date: 07/03/2023
7
+
ms.date: 09/12/2023
8
8
ms.author: kendownie
9
9
---
10
10
@@ -15,8 +15,7 @@ ms.author: kendownie
15
15
16
16
- This article requires version 2.0.64 or later of the Azure CLI. See [How to install the Azure CLI](/cli/azure/install-azure-cli). If you're using Azure Cloud Shell, the latest version is already installed. If you plan to run the commands locally instead of in Azure Cloud Shell, be sure to run them with administrative privileges.
17
17
- You'll need an Azure Kubernetes Service (AKS) cluster with a node pool of at least three virtual machines (VMs) for the cluster nodes, each with a minimum of four virtual CPUs (vCPUs).
18
-
- Follow the instructions in [Install Azure Container Storage](container-storage-aks-quickstart.md) to assign [Contributor](../../role-based-access-control/built-in-roles.md#contributor) role to the AKS managed identity and install Azure Container Storage Preview.
19
-
- This article assumes you've already created a storage pool and persistent volume claim (PVC) using either [Azure Disks](use-container-storage-with-managed-disks.md) or [ephemeral disk (local storage)](use-container-storage-with-local-disk.md). Azure Elastic SAN Preview doesn't support volume snapshots.
18
+
- This article assumes you've already installed Azure Container Storage on your AKS cluster, and that you've created a storage pool and persistent volume claim (PVC) using either [Azure Disks](use-container-storage-with-managed-disks.md) or [ephemeral disk (local storage)](use-container-storage-with-local-disk.md). Azure Elastic SAN Preview doesn't support volume snapshots.
20
19
21
20
## Create a volume snapshot class
22
21
@@ -132,16 +131,16 @@ Now you can create a new persistent volume claim that uses the volume snapshot a
132
131
> [!TIP]
133
132
> If you already created a restored persistent volume claim and want to apply the yaml file again to correct an error or make a change, you'll need to first delete the old persistent volume claim before applying the yaml file again: `kubectl delete pvc <pvc-name>`.
134
133
135
-
## Delete the original pod
134
+
## Delete the original pod (optional)
136
135
137
-
Before you create a new pod, you'll need to delete the original pod that you created the snapshot from.
136
+
Before you create a new pod, you might want to delete the original pod that you created the snapshot from.
138
137
139
-
1. Run `kubectl get pods` to list the pods. Make sure you're deleting the right one.
138
+
1. Run `kubectl get pods` to list the pods. Make sure you're deleting the right pod.
140
139
1. To delete the pod, run `kubectl delete pod <pod-name>`.
141
140
142
141
## Create a new pod using the restored snapshot
143
142
144
-
Once you've deleted the original pod, you can create a new pod using the restored persistent volume claim. Create the pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for benchmarking and workload simulation, and specify a mount path for the persistent volume.
143
+
Next, create a new pod using the restored persistent volume claim. Create the pod using [Fio](https://github.com/axboe/fio) (Flexible I/O Tester) for benchmarking and workload simulation, and specify a mount path for the persistent volume.
145
144
146
145
1. Use your favorite text editor to create a YAML manifest file such as `code acstor-pod2.yaml`.
0 commit comments