You can use the Commvault software to back up, restore, and migrate stateful Kubernetes applications and data.

You can back up the applications and data or just the data volumes, at different granular levels, such as the cluster level or the namespace level, by using labels, selectors, or even pick individual items.

Application-consistent backups need customized scripts tailored for each application or volume, see Application Consistent Protection for Kubernetes.


Environments You Can Back Up

  • Automatically discover and back up applications by using labels and selectors or namespaces.

  • Back up Kubernetes-orchestrated clusters, on-premise or cloud (such as GCP, and AWS), and managed Kubernetes PaaS offerings (such as GKE, EKS, and AKS).

  • Back up Kubernetes applications. An application is a Kubernetes deployment, daemonset, or a StatefulSet.

  • All API resources visible to the kube-api-server, with the exception of Jobs, Roles, and ClusterRoleBindings:

    • PV

    • PVC

    • Deployment

    • StatefulSet

    • ConfigMap

    • Service

    • DaemonSet

    • ClusterRole

    • Ingress

  • Container Storage Interface (CSI) and non-CSI backed-up persistent volumes and PersistentVolumeClaims (PVCs).

  • Back up custom resource definitions (CRDs).

What Is Not Backed Up

  • emptyDir volumes

  • ServiceAccount + Secrets (cluster level)

  • Role

  • RoleBinding

  • API resources not related to applications

Backups You Can Perform

  • Full backups

  • Incremental backups

When You Can Perform Backups

  • On a schedule: The server plan that you assign manages scheduled backups

On demand: You can perform on-demand backups at any timeRestores

Restores You Can Perform

  • Recover a complete application to a previous point in time, including automatic deployment to a new application or a new cluster

  • Recover a sub-application from a composite (custom resource) application

  • Recover an individual data volume from an application, for attaching to a new application

  • Recover or download files and folders from data volumes, or from application YAML manifests

Granularity You Can Use for Restores

  • Application and data

  • Data volumes

  • Data (folders and files) from within the volume

Backups You Can Use for Restores

  • The most recent backup: For example, restore the most recent backup to secondary storage, such as tape, for long-term storage

  • A backup from a specific date: For example, restore data to a point in time before it became unusable

Backups from a date range: For example, restore data that was accidentally deletedDestinations You Can Restore To

  • The current volume, application, or cluster (in place)

  • A different volume, application, or cluster (out of place)