Create and manage local snapshots in Azure Snapshot
This document will show you how to create snapshots of Portworx volumes and how you can clone those snapshots to use them in pods.
The suggested way to manage snapshots on Kuberenetes is to use Stork. If you are looking to create Portworx snapshots using PVC annotations, you will find instructions here.
Prerequisites
Install Stork
This requires that you already have Stork installed and running on your Kubernetes cluster. If you fetched the Portworx specs from the Portworx spec generator in Portworx Central and used the default options, Stork is already installed.
Create snapshots
With local snapshots, you can either snapshot individual PVCs one by one or snapshot a group of PVCs by using a label selector.
Instructions on taking snapshots of single PVCs and restoring PVCs from the snapshots. Instructions on taking snapshots of a group of PVCs and restoring PVCs from the snapshots.📄 Snapshot single PVCs
📄 Snapshot group of PVCs
Restore snapshots
Once you've created a snapshot, you can restore it to a new PVC or the original PVC.