How to copy cassandra data from one cluster to another

后端 未结 3 994
执笔经年
执笔经年 2021-01-21 21:27

I Have 2 cassandra clusters, on different datacenter (note that these are 2 different clusters, NOT a single cluster with multidc), and both clusters have the same keyspace and

3条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-21 22:05

    If you just want to do this as a one time thing, then take a snapshot and use the sstableloader to load that into the cluster. If you want to keep loading new data over time you will want to turn on incremental_backups, then take a snapshot to load for the initial data, and then periodically grab the sstables out of the incremental backups to sstableload to keep things up to date.

提交回复
热议问题