Hello, I have a cassandra provisioned inside a k8 node using casskop. I would like to snapshot the keyspace and restore it to another cassandra in another VM.
is this possible ? if so what's the best way can I achieve it ?
Thank you
Hello, I have a cassandra provisioned inside a k8 node using casskop. I would like to snapshot the keyspace and restore it to another cassandra in another VM.
is this possible ? if so what's the best way can I achieve it ?
Thank you
Yes, it is possible to do it and whether the clusters are in Kubernetes or VM is not relevant since what you're doing is just cloning the tables from one cluster to another. You can clone the data from the snapshot one table a time.
If the source cluster in Kubernetes is "identical" in configuration to the destination cluster, follow the steps I documented in #4534. Otherwise if they're not identical, follow the steps I documented in #4477.
For the purposes of this question, two clusters have identical configuration if:
Cheers!
8 People are following this question.
How to restore Cassandra snapshot to a different keyspace name
What options are available for migrating an app to a new cluster without downtime?
How do I migrate data from a 5-node cluster to a 3-node cluster?
What are the options for migrating data to a new table with a new schema?
Can we restore a keyspace which contains a UDT to another keyspace?
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2023 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use