Cloud Snapshots and Recovery using pxctl
Overview of cloud backups
This document outlines how to back-up Portworx volumes to different cloud providers' object storage, including any S3-compatible object storage. To restore a specific backup, the user can restore the volume from that point in time.
Portworx helps administrators running persistent container workloads, on-prem or in the cloud, to safely backup their mission-critical database volumes to any supported cloud storage. Next, they can restore them on-demand. This way, Portworx enables a seamless DR integration for all the important business application data.
Supported cloud providers
Portworx Enterprise supports the following cloud providers:
- Amazon S3 and any S3-compatible Object Storage
- Azure Blob Storage
- Google Cloud Storage
Performing cloud backups of a Portworx volume
Portworx volumes can be backed up to cloud via pxctl cloudsnap. Run the pxctl cloudsnap command with the --help flag to list the available subcommands and flags.
Login to the secrets database
Note that the cloud credentials are stored in an external secret store. Hence, before creating the credentials, make sure that you have configured a secret provider of your choice.
Now, we can login to the secrets database by typing:
pxctl secrets kvdb login
Successful Login to Secrets Endpoint!
Kubernetes users: This is not required if you are using Portworx 2.0 and higher on Kubernetes and you have -secret_type as k8s in Daemonset