cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: Cassandra backup queston regarding commitlogs
Date Mon, 30 Apr 2012 04:18:21 GMT
> 1. If I already have a Cassandra cluster running, would changing the  incremental_backups
parameter in the cassandra.yaml of each node, and then restart it do the trick?
Yes it is a per node setting. 

> 2. Assuming I am creating a daily snapshot, what is the gain from setting incremental
backup to true?

Better point in time recovery on a node. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 29/04/2012, at 6:41 PM, Tamar Fraenkel wrote:

> I want to add a couple of questions regrading incremental backups:
> 1. If I already have a Cassandra cluster running, would changing the  incremental_backups
parameter in the cassandra.yaml of each node, and then restart it do the trick?
> 2. Assuming I am creating a daily snapshot, what is the gain from setting incremental
backup to true?
> 
> Thanks,
> Tamar
> 
> Tamar Fraenkel 
> Senior Software Engineer, TOK Media 
> 
> <tokLogo.png>
> 
> tamar@tok-media.com
> Tel:   +972 2 6409736 
> Mob:  +972 54 8356490 
> Fax:   +972 2 5612956 
> 
> 
> 
> 
> 
> On Sat, Apr 28, 2012 at 4:04 PM, Roshan <codevally@gmail.com> wrote:
> Hi
> 
> Currently I am taking daily snapshot on my keyspace in production and
> already enable the incremental backups as well.
> 
> According to the documentation, the incremental backup option will create an
> hard-link to the backup folder when new sstable is flushed. Snapshot will
> copy all the data/index/etc. files to a new folder.
> 
> *Question:*
> What will happen (with enabling the incremental backup) when crash (due to
> any reason) the Cassandra before flushing the data as a SSTable (inserted
> data still in commitlog). In this case how can I backup/restore data?
> 
> Do I need to backup the commitlogs as well and and replay during the server
> start to restore the data in commitlog files?
> 
> Thanks.
> 
> 
> 
> --
> View this message in context: http://cassandra-user-incubator-apache-org.3065146.n2.nabble.com/Cassandra-backup-queston-regarding-commitlogs-tp7508823.html
> Sent from the cassandra-user@incubator.apache.org mailing list archive at Nabble.com.
> 


Mime
View raw message