Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cassandra backups and missing features #2361

Closed
cscetbon opened this issue Mar 23, 2020 · 1 comment
Closed

Cassandra backups and missing features #2361

cscetbon opened this issue Mar 23, 2020 · 1 comment
Labels
Enhancement/User End-User Enhancement to Velero Restic Relates to the restic integration Reviewed Q2 2021

Comments

@cscetbon
Copy link

Describe the problem/challenge you have
A few features are missing in order to backup objects in a Cassandra database without recreating a new cluster. Same in order to have the ability to use different retentions for specific objects. That's what this issue is about.

Describe the solution you'd like

  • In order to have different retention per object we would need a way to specify includes/excludes rules for restic backups. The question is where to put this information. Adding this information as annotations on pods would mean they would be global, except if the annotation has a specific format by being a json string for instance, like
{
 "k1": {"include": "data/k1/*/snapshots/"},
 "k2/t1": {"include": "data/k2/t1/snapshots/"} 
...
}

We would then need a way to say which restic rule we want to apply for a specific backup.

  • Hooks should have access to those params in order for instance to know what to snapshot for a Cassandra backup. We could also want to keep some snapshots local and use them to restore from instead of restoring from s3 using restic. That could speed up restore after a an operation that corrupted data and decrease the MTTR.

  • Restoring is done by creating a new cluster, however with Cassandra there is the ability to restore files in place and ask Cassandra to refresh its internal state to see the new content of the files. We would need the ability to restore files in place but also to have hooks on restore to trigger the refresh.

I'm probably missing other requirements but we can flesh them out.

@ashish-amarnath ashish-amarnath added Enhancement/User End-User Enhancement to Velero Restic Relates to the restic integration labels Apr 23, 2020
@eleanor-millman
Copy link
Contributor

Closing because this will hopefully be covered by Astrolabe API (perhaps 2022).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement/User End-User Enhancement to Velero Restic Relates to the restic integration Reviewed Q2 2021
Projects
None yet
Development

No branches or pull requests

3 participants