Reputation: 305
I have 3 node cassandra cluster and I have a script which backup all of the keyspaces, but when it comes to restore on fresh cluster, data keyspaces restored correctly, but system_* keyspaces not. So it is necessary to backup system keyspaces in cassandra?
Upvotes: 1
Views: 332
Reputation: 2283
You will need to backup the keyspace system_schema
at the same time, as it will contain the definition of keyspaces, tables, and columns. The other system*
keyspaces should be left untouched.
Upvotes: 1
Reputation: 1538
Fresh cluster makes own setup like token ranges etc based on configurations.you can restore the cluster on new cluster but you need to create schema and configuration same as old cluster. There is many ways to take backup and restore procedure based on requirements as below:- https://docs.datastax.com/en/archived/cassandra/3.0/cassandra/operations/opsBackupRestore.html
Upvotes: 0