简体   繁体   English

cassandra 从增量备份恢复

[英]cassandra restore from incremental backup

I want to use incremental backup as main cassandra backup type in my system, but I have some miss understanding:我想在我的系统中使用增量备份作为主要的 cassandra 备份类型,但我有一些误解:

  1. The one way to make restore from incremental backup that worked for me - just copy from backup folder to table folder, is that the right way to make it?从对我有用的增量备份进行恢复的一种方法 - 只需从备份文件夹复制到表文件夹,这是正确的方法吗?
  2. Can I,somehow, make backup of table\keyspace parameters, like index/replica_factor etc?我可以以某种方式备份表\键空间参数,如索引/副本因子等吗?

Thanks.谢谢。

  1. If you have not dropped the table.for restoration如果你还没有删除表。用于恢复

    Stop the C* node停止 C* 节点

    Copy the backup folder to table directory.将备份文件夹复制到表目录。 You are right on that.你是对的。

    Start the server.启动服务器。

  2. If you want schema, you can check snapshot folder.如果你想要模式,你可以检查快照文件夹。 There you can find schema.cql在那里你可以找到 schema.cql

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

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