BACKUP CASSANDRA

Asked

Viewed 27 times

0

I am backing up to a 6-node cluster. We are working with consistency factor 3.

Do I need to back up all nodes? Or would the backup be interesting only on one of the nodes, since the information would be on the 6 existing nodes? Is there any strategy to be used in this case.

Simply I have currently made a nodetool snapshot and copied the generated folders to an external media.

1 answer

0


You need to back up all of us, because Cassandra will prevent the nodes from having the same information. This is obtained with the token distribution and is defined with the argument "num_tokens".

You should also consider that just keeping a copy of the data does not guarantee accuracy, because Cassandra has eventual consistency; this means that if you keep a copy that has not received an update or before it is repaired, you will lose information.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.