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.yaml: incremental_backups #394

Open
tolysz opened this issue Feb 2, 2017 · 5 comments
Open

cassandra.yaml: incremental_backups #394

tolysz opened this issue Feb 2, 2017 · 5 comments

Comments

@tolysz
Copy link

tolysz commented Feb 2, 2017

I was wondering if it would be possible to add:

CASSANDRA_INCREMENTAL_BACKUPS

environment variable which would control incremental_backups from cassandra.yaml?

tolysz added a commit to tolysz/dcos-cassandra-service that referenced this issue Feb 7, 2017
@verma7
Copy link
Contributor

verma7 commented Feb 8, 2017

Have you thought this through about how the incremental backups will work end to end? Will it create periodic incremental snapshots?

@vargup Do you think just changing that yaml parameter is enough for enabling incremental backups?

@varungup90
Copy link
Contributor

AFAIK, only yaml change is not sufficient for incremental backup. At Cassandra, taking snapshot or backup is just copying SSTables to a different folder location at same machine. Where as framework, is designed to upload those snapshots to S3 or Azure. For incremental backup, load of code churning is required, as it need to support restore as well.

@tolysz
Copy link
Author

tolysz commented Feb 8, 2017

If you set this env to True, it will allow you to use incremental backups.
The procedure will be: nodetool snapshot and it creates both a snapshot and the incremental backup.
One would need to do something with the backup folders as they will start grow.
Without this setting, there is no way of to trigger incremental backups. The default - false is a good start, but at some point one would want to add more safety and it would not be possible without this change.

@tolysz
Copy link
Author

tolysz commented Feb 20, 2017

Just a note to myself.

nodetool enablebackup

Will make cassandra to start the incremental backups. It is enough for me...

@varungup90
Copy link
Contributor

Those backups will be created locally on that host, and if that satisfies you requirement, then great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants