Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

kajarvine_115939 avatar image
kajarvine_115939 asked ·

Does Medusa work with a dockerized Cassandra?

Does Medusa undrstand how to Backup a Dockerized Cassandra?
And even more, can it Restore a Dockerized Cassandra?

Meaning; how does it comunicate and Create the Snaphot?
Via Cassandra-Driver?

dockerk8ssandramedusa
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

Yes, Medusa works with Cassandra on Docker. In fact we have an out-of-the-box solution for it -- K8ssandra.

K8ssandra is a ready-made platform for running Apache Cassandra in Kubernetes using the DataStax Cassandra Operator (cass-operator) under the hood but with all the tooling built-in:

  • Reaper for automated repairs
  • Medusa for backups and restores
  • Metrics Collector for monitoring with Prometheus + Grafana
  • Traefik templates for k8s cluster ingress

To your question on "communication", Cassandra snapshots are not a database operation so it doesn't have anything to do with the driver. Snapshots are in fact done at the filesystem level using the Java IO FileUtils API to create hardlinks to the same inodes as data files on disk. Cheers!

2 comments Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Wow; just what we need, thanks a LOT!
- Kari

0 Likes 0 ·

Not a problem. Cheers!

0 Likes 0 ·