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

dferguson992_176600 avatar image
dferguson992_176600 asked ·

Should system keyspaces be restored in a cluster?

Can/Should you restore the `system` keyspaces in a Cassandra cluster? Taking this a step backwards, can/should you backup the `system` keyspaces in a Cassandra cluster?

Are there pros/cons to either approach?

restorebackup
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 ·

There is a narrow use case for taking backups of system keyspaces.

Yes, you should perform regular backups of the system keyspaces but you should only ever restore them in the event of a complete server failure.

In most cases, system keyspaces contain information about the local node. They are not relevant if you are cloning application data to another cluster.

For most situations, it would be quicker to build a server from scratch and replace a node with the replace_address flag (see Replacing a dead node) than it is to restore from backups but YMMV. Cheers!

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.