incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamar Fraenkel <ta...@tok-media.com>
Subject Re: Cassandra backup queston regarding commitlogs
Date Sun, 29 Apr 2012 06:41:29 GMT
I want to add a couple of questions regrading incremental backups:
1. If I already have a Cassandra cluster running, would changing the  i
ncremental_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

[image: Inline image 1]

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