Backup Types by Driver
This topic describes the various types of backups supported by Portworx Backup when different provisioners and drivers are involved in the backup creation phase. Refer Backup type matrix for more information on the types of backups that get triggered for the various options you choose in the web console during the backup creation operation for Portworx Backup 2.7.0 and above.
Backup types
Portworx Backup allows you to configure following types of backups based on the driver associated with the backups in the system:
-
Portworx (Portworx cloud snapshots)
-
Native CSI (on premises or on cloud)
-
CSI local snapshot with KDMP (local snapshots with offload to back up location)
-
Direct KDMP
notePortworx Backup currently supports VolumeBlock mode only on Portworx Enterprise.
Portworx cloud snapshots
Under the extent-based mode, Portworx compares block metadata, called extents, to determine the difference between the local snapshot and the previously uploaded cloud snapshot.
Portworx uses this metadata to calculate the difference between snapshots for upload and does not need to store previous snapshots for comparison. As Portworx reduces the footprint of the locally stored cloud snapshot data significantly. However, Portworx must also upload this metadata to the cloud alongside the cloud snap data, resulting in slightly larger uploads.
While taking extent-based snapshots, Portworx performs the following tasks:
- Takes a snapshot
- Downloads extent data for the previous snapshot from the cloud
- Compares extents, scans for changed blocks or generations
- Uploads the changes and new snapshot metadata
- Deletes the local snapshot
Native CSI snapshot (On-premises)
Portworx Backup utilizes the storage provider's CSI driver to create a local snapshot on the array. This default behavior is applicable to all CSI storage providers (Dell, NetApp, and so on).
To trigger a native CSI snapshot backup, in the Create Backup window:
- Disable Cross Cloud Backup/Restore toggle button
- Map your provisioner with volume snapshot class (VSC) if applicable
- Disable Offload to backup location
Native CSI snapshot (On-cloud)
Portworx Backup utilizes the cloud storage provider's CSI driver to create a local snapshot on the array. This default behavior is applicable to all CSI storage providers (AWS, GKE, AKS and so on).
- Disable Cross Cloud Backup/Restore toggle button
- Map your provisioner with VSC if applicable
- Disable Offload to backup location