Create snapshots


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.

Snapshot types

Using STORK, you can take 2 types of snapshots:

  1. Local: These are per volume snapshots where the snapshots are stored locally in the current Portworx cluster’s storage pools.
  2. Cloud: These snapshots are uploaded to the configured S3-compliant endpoint (e.g AWS S3).

3DSnaps

3DSnaps are supported in Portworx version 1.4 and above and Stork version 1.2 and above. 3DSnaps are not supported on Kubernetes on DC/OS.

3DSnaps is the umbrella term that covers PX-Enterprise’s capability to provide app-consistent cluster wide snapshots whether they are local or cloud.

For each of the snapshot types, Portworx supports specifying pre and post rules that are run on the application pods using the volumes. This allows users to quiesce the applications before the snapshot is taken and resume I/O after the snapshot is taken. The commands will be run in pods which are using the PVC being snapshotted.

Read Configuring 3DSnaps for further details on 3DSnaps.


Last edited: Tuesday, Dec 4, 2018