<p>We have a Cassandra Cluster on my kubernetes cluster. How we are planning migrate the current cluster from GCP to AWS. How can I restore my Cassandra Keyspaces and Snapshots. From the following link, I got a idea for took backup:
<a href="https://8kmiles.com/blog/cassandra-backup-and-restore-methods/" rel="nofollow noreferrer">https://8kmiles.com/blog/cassandra-backup-and-restore-methods/</a></p>

<p>But the docs shows only snapshot backup case. Nothing says about 'Keyspaces'. How can I backup my Keyspace and Snapshot.? How can I retore the same. Our Cassandra running on Kubernetes both GCP and AWS. </p>

Steven Lung
<p>I think you have two options here:</p>

<ol>
<li>a backup/restore approach as you stated. Be aware that <code>nodetool snapshot</code> is copying your data and exports the schema of the table in <code>schema.cql</code> file. You will need to run a <code>describe keyspace</code> 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 <a href="https://stackoverflow.com/questions/51650770/nodetool-snapshot-takes-schema-snapshot-backup-too">answer</a> has some details regarding this matter.</li>
<li>Add a <a href="https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsAddDCToCluster.html" rel="nofollow noreferrer">new DC</a> and <a href="https://docs.datastax.com/en/cassandra/3.0/cassandra/operations/opsDecomissionDC.html" rel="nofollow noreferrer">decommission</a> the old one, after the data is migrated. Here you must have the same cassandra version.</li>
</ol>
