Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

restore all keyspaces and tables from cassandra data folder

I have all keyspaces and tables copied from another cassandara data folder ,How can I restore it in my cassandara node.

I dont have snapshots which are normally required to restore.

like image 418
Vikas Kumar Avatar asked Nov 14 '25 23:11

Vikas Kumar


1 Answers

You might be able to do this with the Cassandra Bulk Loader.

Assuming a packaged install (with default data and bin locations), try this from one of your nodes:

$ sstableloader -d hostname1,hostname2 /var/lib/cassandra/data/yourKeyspaceName/tableName/

Check out the documentation on the Bulk Loader for more details.

like image 195
Aaron Avatar answered Nov 17 '25 17:11

Aaron



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!