Cross-region backup and restore
Portworx Backup supports back up and restore of data across regions. This enables backing up CSI snapshots, NFS shares, and so on in one region and restoring them in another region.
Cross-region backup and restore in GKE cloud provider
The Portworx Backup leverages cloud-native driver (either KDMP or CSI driver or both, based on the option selected by the user during creation of backup) to support cross-region backup and restore of data for GKE cloud provider. So, there is no additional configuration needed to enable cross region backup and restore.
Cross-Zone backup and restore on Azure
This section outlines detailed steps to configure CSI (Container Storage Interface) backup and restore with Portworx Backup on Azure Kubernetes cluster distributed across multiple zones in a single region.
Prerequisites
-
Intermediate level Kubernetes competency
-
Access to an Azure account with permissions to create and manage resources
-
A Kubernetes cluster deployed on Azure with Portworx Backup installed with necessary configuration
-
An AKS/ARO cluster deployed in a region either with single-zone or multi-zone configuration.
-
Ensure that Azure cluster prerequisites are met
Cluster configuration
-
Make sure you deploy the volumes using a storage class that has a ZRS disk.
For example:
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: managed-csi-zrs
provisioner: disk.csi.azure.com
parameters:
skuName: StandardSSD_ZRS # or Premium_ZRS
reclaimPolicy: Delete
volumeBindingMode: WaitForFirstConsumer
allowVolumeExpansion: trueFor more details refer to Azure documentation on availability zones in AKS
-
Add AKS/ARO cluster as application cluster. Refer the following topics for more details on how to add these clusters in Portworx Backup web console:
-
Create a backup.
-
Finally, restore your backup when needed.
Related topics:
-
Detailed instructions for role assignment are available on the Azure documentation page.
-
For more on setting up storage accounts, refer to Azure's storage account guide.