Skip to main content
Version: 2.7

Backup types by driver matrix

Portworx Backup uses different drivers to create backups and allows the user to create different types of backups based on your preferences and needs. You can customize 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 which utilizes both of these drivers and customize selection of volume snapshot class (vsc) with provisioner level vsc selection. Also, you can take direct KDMP backup at backup level for cross-cloud backups and restores.

Portworx Backup supports 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 PureStorage recommends you to create a snapshot class mapping backup over cross cloud backup, because creation of CSI snapshots are more faster and efficient compared to backup created by 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 chosen by the user 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.


Snapshot class mapping backup (CSI backup with or without offload) 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

KDMP backup matrix

Following table explains the type pf backup that gets triggered in different cloud environments when the storage provider supports 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

Azure file CSI driver only supports snapshot (backup) creation and not restores. Hence for a successful restore ensure that you create a cross-cloud backup and not CSI snapshot.

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 Persistent Volume Claim (PVC) in your application cluster.

KDMP backup behavior for upgrades

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

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

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

  • Utilizes KDMP driver to create a direct KDMP backup if 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.

Was this page helpful?