cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Coli <>
Subject Re: Restoring keyspace using snapshots
Date Thu, 30 Jan 2014 19:41:00 GMT
On Wed, Jan 29, 2014 at 9:45 PM, Senthil, Athinanthny X. -ND <> wrote:

> Plan to backup and restore keyspace from PROD to PRE-PROD cluster which
> has same number  of nodes. Keyspace will have few hundred millions of rows.
> We need to do this every other week. Which one of the below  options most
> time-efficient and puts less stress on target cluster ? We want to finish
> backup and restore in low usage time window.

Has some details on when each approach may be better or worse. In your
case, you should probably just do the "copy-the-sstables" method. If the
target cluster has the same number of nodes, just assign it the same tokens
and then just copy SSTables from SOURCE_NODE_A to TARGET_NODE_A and so on.
If you do that, you don't even have to run cleanup, because no nodes have
changed their range ownership.

Don't use refresh if you don't need to, just (coalesce the target cluster,
load schema and then) copy the SSTables into the dir with the node down,
and then start it.

Refresh's current design is unsafe :


View raw message