incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Илья Шипицин <chipits...@gmail.com>
Subject Re: how to get list of snapshots
Date Wed, 23 May 2012 10:45:29 GMT
I seen that guide. It's missing several important things

1) ok, I can schedule snapshots using cron (snapshot's name will be
ganarated from current date)
 how can I remove snapshots older than a week ?

2) ok, I can enable increment backups. How can I remove incremental
SSTables older than 1 week ?
 it's more tricky than with snapshots.


it will lead me to several find/cron/bash scripts. Single mistake and I can
delete cassandara data entirely.

2012/5/23 aaron morton <aaron@thelastpickle.com>

> 1) is there any good guide for scheduling backups ?
>
> this http://www.datastax.com/docs/1.0/operations/backup_restore ?
>
> 2) is there way to get list of snapshots ? (without "ls" in directory)
>
> No.
>
> Cheers
>
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 23/05/2012, at 5:06 PM, Илья Шипицин wrote:
>
> Hello!
>
> I'm about to schedule backups in the following way
>
> a) snapshots are done daily
> b) increment backups are enabled
>
> so, backup will be consistent, very old snapshots must be removed (I
> guess, a week depth should be enough).
>
> couple of questions:
>
> 1) is there any good guide for scheduling backups ?
> 2) is there way to get list of snapshots ? (without "ls" in directory)
>
> Cheers,
> Ilya Shipitsin
>
>
>

Mime
View raw message