cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: backing up data from cassandra
Date Mon, 05 Oct 2009 12:22:58 GMT
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 <edmond@ooyala.com> 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
>

Mime
View raw message