Skip to main content
Version: 9.0.11 (latest)

K8ssandra Logical Backup

K8ssandra operator uses Medusa to backup and restore Cassandra data. Steps for installing the K8ssandra operator with Medusa can be found here.

Deprecation

By default, Veeam Kasten uses a built-in Kanister blueprint to manage this data service. This blueprint is deprecated and will be removed in a future release. Replace it with a user-managed blueprint. For migration steps, see How to Migrate Built-in Blueprints to User-Managed Blueprints.

To disable the built-in blueprint, set the kanister.managedDataServicesBlueprintsEnabled=false Helm flag when you install or upgrade Veeam Kasten.

Create K8ssandra Backup Policy​

K8ssandra components are managed by the K8ssandra operator. The StatefulSet workloads are created by the operator when a Cassandra Custom Resource is created. For this reason, the StatefulSet objects do not need to be backed up as they are recreated by the operator. Medusa uses CassandraDatacenter resource to backup and restore Cassandra data. To backup Cassandra data with Veeam Kasten, create a policy with Include Filters to include only the CassandraDatacenters needed to be backed up.

To create a policy with Include Filters -

  1. Open the Veeam Kasten dashboard, go to Policies and click on Create New Policy.
  2. Specify a name of your choice (e.g. k8ssandra-backup) for the policy, set backup frequency, and select the application by name.
  3. To add filters, click on Select Application Resources -> Filter Resources.
  4. In the Include Filters section, click on Add a filter. Check Resources box and add cassandradatacenters resource name. Finally, click Add Filter and create the policy.

Once the policy is created, the backup operation can be performed on the application by clicking Run Once action.

Known Limitations​

Veeam Kasten relies on Medusa operator deployed with K8ssandra to perform backup and restore operations. Therefore, the following limitations exist:

  • The K8ssandra operator must be running before performing restores
  • Only in-place restores are possible
  • The MedusaRestoreJob custom resource must be present in the same namespace during restore operations