简体   繁体   English

如何在新的单节点cassandra上还原cassandra快照

[英]How to restore cassandra snapshot on a new single node cassandra

I have done a snapshot of one of the key space which has 10 column family. 我已经完成了其中10个列族的关键空间之一的快照。 There are 10 snapshot folder under each of column family folder.i want to restore these snapshot in one the development server (single node). 列族文件夹下的每个文件夹下有10个快照文件夹。我想在一台开发服务器(单个节点)中还原这些快照。

How can i easily restore it on a development using sstanbleloader 我如何使用sstanbleloader在开发中轻松还原它

Dev node is on a Windows 2012 Standard Server Prod is on a Windows 2012 Ent.Edition Server Dev节点位于Windows 2012 Standard Server上Prod位于Windows 2012 Ent.Edition服务器上

You probably don't need to use sstableloader in this case. 在这种情况下,您可能不需要使用sstableloader。 I think the most straightforward method would be the "Node restart method" described here . 我认为最直接的方法是此处所述的“节点重启方法”。

There are plenty of details in the docs, but basically: stop the node, remove data files from data directories, and replace with snapshot files. 文档中有很多详细信息,但基本上是:停止节点,从数据目录中删除数据文件,并替换为快照文件。

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

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