Re: snapshot strategy?

2018-11-21 Thread Alain RODRIGUEZ
Hi Lou, My apologies for the delay answering here, and for my misunderstanding in the first place. we want to keep snapshots that are no older than X days old while purging > the older ones > I think that you can achieve this with some code, out of Cassandra or interacting with Cassandra, using

Re: snapshot strategy?

2018-11-05 Thread Lou DeGenaro
Alain, Thanks for the suggestion, but I think I did not make myself clear. In order to utilize disk space efficiently, we want to keep snapshots that are no older than X days old while purging the older ones. My understanding is that there are 2 kinds of snapshots : (a) those created on demand

Re: snapshot strategy?

2018-11-05 Thread Alain RODRIGUEZ
Hello Lou, how do you clear the automatic ones (e.g. names unknown) without clearing > the named ones? > The option '-t' might be what you are looking for: 'nodetool clearsnapshot -t nameOfMySnapshot'. >From the documentation here: http://cassandra.apache.org/doc/latest/tools/nodetool/clearsnaps

Re: snapshot strategy?

2018-11-05 Thread Lou DeGenaro
The issue really is how to manage disk space. It is certainly possible to take snapshots by name and delete them by name, perhaps one for each day of the week. But how do you clear the automatic ones (e.g. names unknown) without clearing the named ones? Thanks. Lou. On Fri, Nov 2, 2018 at 12:2

Re: snapshot strategy?

2018-11-02 Thread Pranab Bordoloi
Taking a step back and in case you are hosted on a cloud - We are entirely on AWS and upload snapshots, and incremental files periodically, to S3 as part of the backup job. It gives us durability and the freedom to clean up from locale sooner than otherwise would require. Currently, we also are try

Re: snapshot strategy?

2018-11-02 Thread Subroto Barua
Lou, when taking snapshot, set tag like "uuidgen --time" and use this tag to clear out old snapshot. On Friday, November 2, 2018, 9:28:03 AM PDT, Oleksandr Shulgin wrote: On Fri, Nov 2, 2018 at 5:15 PM Lou DeGenaro wrote: I'm looking to hear how others are coping with snapshots. Acco

Re: snapshot strategy?

2018-11-02 Thread Oleksandr Shulgin
On Fri, Nov 2, 2018 at 5:15 PM Lou DeGenaro wrote: > I'm looking to hear how others are coping with snapshots. > > According to the doc: > https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsBackupDeleteSnapshot.html > > *When taking a snapshot, previous snapshot files are not auto

snapshot strategy?

2018-11-02 Thread Lou DeGenaro
I'm looking to hear how others are coping with snapshots. According to the doc: https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsBackupDeleteSnapshot.html *When taking a snapshot, previous snapshot files are not automatically deleted. You should remove old snapshots that are no