planb-cassandra icon indicating copy to clipboard operation
planb-cassandra copied to clipboard

Dump tokens after Cassandra started

Open charliechang opened this issue 6 years ago • 1 comments

Hi In order to make IT compliance we need to perform backup/restore for our Cassandra cluster. In this document: Restoring a snapshot into a new cluster, it mentioned that we need to dump tokens in order to recover from a snapshot.

The idea is that we can dump the token after Cassandra started in data folder (Saying that /var/lib/cassandra/metadata) and we take the EBS snapshots. So that in the new cluster, we can attach the EBS volume (which created from the snapshot) and find this file in data folder.

Another way is that we can manually dump the tokens whenever new cluster / nodes are added, but we think this way is more error-prone since people may forget to do it.

Author: [email protected]

charliechang avatar Jul 05 '18 11:07 charliechang

Hello @charliechang!

Sorry for the late reply. We are currently investigating backup/restore approach based on use of EBS snapshots. If that would cover you needs, we don't need to dump the tokens.

Please contact me directly if you would like to join the discussion/research.

Thank you.

a1exsh avatar Aug 24 '18 11:08 a1exsh