thelastpickle / cassandra-medusa

Apache Cassandra Backup and Restore Tool
Apache License 2.0
258 stars 140 forks source link

Support for partial backups: backup only specific keyspaces/tables, etc. #116

Open alexott opened 4 years ago

alexott commented 4 years ago

Project board link

It would be really useful to support partial backups of the data, like:

This would greatly help in some cases, when cluster contains some data that don't have much value (like temporary data), could be replayed from other sources, or backup could be used for offloading of "cold/inactive" data that could be restored later on table-by-table decision.

P.S. it's similar to #64, but this functionality is really requested by customers, and supported in other products, like, OpsCenter (keyspace-level only).

┆Issue is synchronized with this Jira Story by Unito

xgerman commented 1 year ago

We would like this as well. Anyway we can help?

rzvoncek commented 5 months ago

Hi @xgerman ! I'm doing some grooming of the oldest issues we have and this out caught my attention due to the recent activity.

Also, because implementing this is not really complicated. We'd just need to:

This would still crate and clear snapshots of the not-backed-up tables, but that I don't think matters.

We'd also create situations where one could expect all tables to be restored from the backup, but then don't get them. However, I'm not sure how big of an issue that is.

So to sum up, we'd be very grateful if you could contribute this :)