Skip to main content
Version: 2.5

KDMP backups

KDMP backups are generic backups that Portworx Backup supports utilizing the KDMP driver. If you have deployed Portworx Backup without Portworx Enterprise, then a KDMP backup get triggered.

If you do not want to use cloud native drivers and prefer to use Portworx Backup's KDMP driver, you need to set the backup type as generic in kdmp-config ConfigMap that resides in kube-system namespace of your application cluster.

KDMP backup types​

Portworx backup supports two variants of KDMP backups as outlined in the following sections:

  1. KDMP with local snapshot

    In Portworx Backup, KDMP driver takes snapshots and later offloads or uploads these snapshots to S3 compliant object store.

    In this case Portworx Backup performs the following tasks:

    a. Takes available snapshot storageclass information
    b. Creates a snapshot
    c. Uses KDMP driver to attach the mount point of the PV on the worker node
    d. Copies the file system contents to object storage

  2. Direct KDMP/Generic

    In this backup type, Portworx Backup utilizes the KDMP driver to attach the mount point of the PV on the worker node and copies the file system contents to object storage.

When a KDMP backup occurs​

Portworx Backup triggers a KDMP backup in the following scenarios:

  1. Portworx Backup without Portworx Enterprise:

    a. If the storage provider does not support CSI snapshots

    b. If the storage provider supports CSI snapshots and if you want to offload the backup to S3 object store along with the selection of volume snapshot class during creation of backup.

    KDMP backup matrix​

    Following table provides KDMP backup matrix when the storage provider supports CSI snapshot:

    Cloud storage providerStorage typeBackup mechanism
    AWSEBSCloud-native driver
    EFSKDMP with local snapshot
    AzureDiskCloud-native driver
    File shareDirect KDMP
    IBMIBM storageKDMP with local snapshot
    (User must select Offload to CSI snapshot class
    option in the user interface)
    GCPGoogle diskCloud-native driver
    Google fileDirect KDMP
    OCPOCP storageDirect KDMP
  2. Regardless of the storage provider and whether or not the CSI snapshot is supported by these storage providers, if you update the parameter BACKUP_TYPE: "Generic" in the kdmp-config ConfigMap. Refer to this topic to learn more on how to update kdmp-config ConfigMap.

  3. For some on premises (for example, Flash Array) or on cloud storage providers without CSI snapshot support, direct KDMP backup gets triggered and the Portworx Backup user interface does not provide Offload to CSI snapshot backup location option. This is the default behavior of Portworx Backup.

  4. Cross-cloud and cross-region backups and restores with Portworx Backup.

  5. 3-2-1 backups

Create a KDMP backup​

To trigger a KDMP backup for the storage provider that supports CSI snapshot class, ensure that you select the following options in the Create Backup window:

  • CSI snapshot class

  • Offload CSI snapshots to backup location

    note

    Offload CSI snapshots to backup location option appears in the Create Backup window only if the storage provider supports CSI snapshot mechanism.

    Related topics:

  • Create backup

  • Cross-region backups

Was this page helpful?