Skip to main content
Version: 3.0

Backup Types by Driver Matrix

Portworx Backup uses different drivers to create backups and allows you to create different types of backups based on your preferences and needs. You can customize the backup configuration based on your requirements, and Portworx Backup offers adaptability for future changes. You can opt to create a KDMP or CSI driver-based backup, or a backup that utilizes both of these drivers, and customize the selection of volume snapshot class (VSC) with provisioner-level VSC selection. You can also take a direct KDMP backup at the backup level for cross-cloud backups and restores.

Portworx Backup supports the following types of backups utilizing different drivers:

  • Portworx cloud snapshot: applies only if Portworx is your storage platform, utilizes Portworx driver to create a backup

  • Direct KDMP: utilizes KDMP driver to create a backup and holds good for cross-cloud backups and restores

  • CSI snapshot: uses storage providers CSI driver to create a snapshot

  • CSI snapshot + offload snapshot to backup location (KDMP driver): utilizes CSI driver to create a backup and KDMP driver to offload the backup to backup location (S3 or NFS)

    note
    • The backup behavior outlined in the matrices applies to manual, scheduled, namespace, and VM backups for the drivers listed.
    • Portworx by Everpure recommends that you create a snapshot class mapping backup instead of a cross-cloud backup, because CSI snapshots are faster and more efficient than backups created by the KDMP driver. Trigger a cross-cloud backup only if you want to create a backup on one cloud and restore it on a different cloud environment.

The illustration and the table below describe the backup behavior for different options you choose in the web console during backup creation for the supported provisioners.

note

This matrix applies only for fresh installation of Portworx Backup version 2.7.0 and above.


CSI backup matrix

The following table explains the type of backup that gets triggered when you choose different options under Snapshot Class Mapping for CSI Provisioner, Volume snapshot class and Offload CSI snapshots to backup location fields in the Create Backup window:

ProvisionerVolume snapshot class (vsc) optionOffload to backup location option selectedBackup type triggered
PortworxDisabled (always)Yes/NoPortworx cloud snapshot
Non-PortworxNo vsc (disabled)YesDirect KDMP backup
NoBackup creation fails
Non-PortworxDefault single vsc (auto-populated)YesCSI snapshot + offloads snapshot to backup location (KDMP backup)
NoCSI snapshot
Non-PortworxNon-default single vsc (auto-populated)YesCSI snapshot + offloads snapshot to backup location (KDMP backup)
NoCSI snapshot
Non-PortworxNon-default multiple vscs' (in the drop-down)YesCSI snapshot + offloads snapshot to backup location (KDMP)
NoCSI snapshot

Backup driver matrix

The following matrix provides a comparison of different backup types supported by Portworx Backup, highlighting the drivers used and how resources and volumes are managed for each backup type. It serves as a quick reference to understand the behavior of backups across different scenarios, including cross-cloud backups, snapshots, and cloud-integrated storage solutions.

Backup TypeDriverResourcesVolumesClassic modeFederated mode
Cross-cloudKDMPBacked up to backup locationBacked up to backup locationSupportedSupported
Snapshot class mappingCSIBacked up to backup locationRemains locally as local snapshot on the application clusterSupportedSupported
Snapshot class mapping + Offload to backup locationCSI+KDMPBacked up to backup locationBacked up to backup location + Remains locally as local snapshot on the application clusterSupportedSupported
CloudsnapPXD (Portworx driver)Backed up to backup locationBacked up to backup locationSupportedSupported

KDMP backup matrix

The following table explains the type of backup that gets triggered in different cloud environments when the storage provider supports the CSI snapshot mechanism:

Cloud storage providerStorage typeBackup mechanism
AWSEBS
  • CSI snapshot with KDMP local snapshot (if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP backup
EFS
  • Direct KDMP
AzureDisk
  • CSI snapshot with KDMP local snapshot (if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP backup
File share
  • Direct KDMP
IBMIBM storage
  • CSI snapshot with KDMP local snapshot(if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP backup
GCPGoogle disk
  • CSI snapshot with KDMP local snapshot (if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP backup
Google file
  • CSI snapshot with KDMP local snapshot (if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP
OCPOCP storage
  • CSI snapshot with KDMP local snapshot (if Offload CSI snapshots to backup location is selected)
  • CSI snapshot (if Offload CSI snapshots to backup location is not selected)
  • Direct KDMP backup
caution

The Azure file CSI driver supports CSI snapshot restore for (SMB) Azure file volumes starting from CSI driver version v1.30.2. For CSI driver versions earlier than v1.30.2, ensure to create a cross-cloud backup and not a CSI snapshot for a successful restore.

note

Before you initiate a generic or KDMP or cross-cloud backup, ensure that you allocate additional buffer storage that is double the size of the original PersistentVolumeClaim (PVC) in your application cluster.

KDMP backup behavior for upgrades

Assume that you are on Portworx Backup version 2.6.0 or earlier, with cloud native driver installed on your application clusters. When you upgrade to Portworx Backup version 2.7.0 or later from previous versions, the existing manual backups are not affected.

The backups that are scheduled (to be created in the future) with the cloud native driver:

  • Get migrated to CSI snapshots along with the offload to backup location option if a volume snapshot class is available

  • Use the KDMP driver to create a direct KDMP backup if a volume snapshot class is not available

note

Scheduled backups that were created using cloud native driver before the upgrade will only get migrated. Scheduled backups created with other drivers remain unchanged.