Backup and Restore Cassandra On Kubernetes
I think you have two options here:
- a backup/restore approach as you stated. Be aware that
nodetool snapshot
is copying your data and exports the schema of the table inschema.cql
file. You will need to run adescribe keyspace
command on the existing cluster and run it on the new cluster in order to create the new keyspace, since nodetool is not doing this. This answer has some details regarding this matter. - Add a new DC and decommission the old one, after the data is migrated. Here you must have the same cassandra version.