cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Van Dyk <>
Subject Re: backing up data from cassandra
Date Mon, 05 Oct 2009 13:05:10 GMT
How do you take the snapshot?  What's the restore process?

On Mon, Oct 5, 2009 at 5:22 AM, Jonathan Ellis <> wrote:
> You can take a snapshot and either leave it in place indefinitely or
> throw it into your existing backup ecosystem.  That's your best option
> for backup no matter which kind of partitioner you're using.
> -Jonathan
> On Mon, Oct 5, 2009 at 12:52 AM, Edmond Lau <> wrote:
>> For folks who are using or considering using cassandra in their
>> production systems, what do you use for backups?
>> With HBase, one could potentially write a mapreduce to perform a row
>> scan of the entire table (restricted to some historical timestamp to
>> get a consistent view) and export the data to hdfs.  With Cassandra,
>> if you're using an ordered partitioner, a similar mechanism could be
>> built over a key range scan.
>> With a random partitioner, though, there's no api to iterate through
>> all existing keys.  Why not?
>> Edmond

Joe Van Dyk

View raw message