zalando-stups / planb-cassandra

Plan B Cassandra for STUPS/AWS with static IPs
Other
27 stars 18 forks source link

Dump tokens after Cassandra started #217

Open charliechang opened 6 years ago

charliechang commented 6 years ago

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: charlie.chang@zalando.de

a1exsh commented 6 years ago

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.