Restoring a snapshot into a new cluster
Steps for restoring a snapshot by recovering the cluster into another newly created cluster.
Suppose you want to copy a snapshot of SSTable data files from a three node Cassandra cluster with vnodes enabled (256 tokens) and recover it on another newly created three node cluster (256 tokens). The token ranges will not match, because the token ranges cannot be exactly the same in the new cluster. You need to specify the tokens for the new cluster that were used in the old cluster.
Note: This procedure assumes you are familiar with restoring a snapshot and configuring and initializing a cluster. If not,
see Initializing a cluster.
The location of the cassandra.yaml file depends on the type of installation:
Package installations | /etc/cassandra/cassandra.yaml |
Tarball installations | install_location/resources/cassandra/conf/cassandra.yaml |
Windows installations | C:\Program Files\DataStax Community\apache-cassandra\conf\cassandra.yaml |
Procedure
To recover the snapshot on the new cluster: