简体   繁体   English

如何在AWS中进行Cassandra节点的备份和还原?

[英]How to do a Backup and Restore of Cassandra Nodes in AWS?

We have 2 m3 large instances that we want to do backup of. 我们有2 m3的大型实例要备份。 How to go about it? 怎么做呢? The data is in the SSD drive. 数据在SSD驱动器中。 nodetool snapshot will cause the data to be written back to the same SSD drive . nodetool快照将导致将数据写回到同一SSD驱动器。 Whats the correct procedure to be followed? 什么是正确的程序要遵循?

You can certainly use nodetool snapshot to back up your data on each node. 您当然可以使用nodetool快照来备份每个节点上的数据。 You will have to have enough SSD space to account for snapshots and the compaction frequency. 您将必须有足够的SSD空间来考虑快照和压缩频率。 Typically, you would need about 50% of the SSD storage reserved for this. 通常,您需要为此预留大约50%的SSD存储空间。 There are other options as well. 还有其他选择。 Datastax Opscenter has backup and recover capabilities that use snapshots and help automate some of the steps but you will need storage allocated for that as well. Datastax Opscenter具有使用快照的备份和恢复功能,可以帮助自动执行某些步骤,但是您还需要为此分配存储空间。 Talena also has a solution for back/restore & test-dev management for Cassandra (and other data stores like HDFS, Hive, Impala, Vertica, etc.). Talena还为Cassandra(以及其他数据存储,例如HDFS,Hive,Impala,Vertica等)提供了用于备份/还原和测试开发管理的解决方案。 It relies less on Snapshots by making copies off-cluster and simplifying restores. 通过使群集外的副本并简化还原,它减少了对快照的依赖。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM