Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

spiragua_132892 avatar image
spiragua_132892 asked ·

Can we snapshot just one node in a 3-node cluster with RF=3?

If we have a cluster with two datacenter, each with three nodes and our data has a RF of three (3) for each DC. To make a full backup can we only take a snapshot from one of the nodes ? With RF of three per DC and three nodes by DC, is it correct the assumption that each node has all the info ?

backup
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

In theory, yes. But in practice, you need to take a snapshot of all nodes in a cluster to guarantee that you have all the data. There are no shortcuts.

By only taking a backup on one node, you are making a huge assumption that all the replicas are consistent and that the repairs are running successfully regularly. This is not a recommended procedure and the convention is to backup all nodes in the cluster. Cheers!

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Thanks Erick !

0 Likes 0 ·