Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6145879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:51:43+00:00 2026-05-23T18:51:43+00:00

I currently have a script that invokes bin/sstable2json on all files of the pattern

  • 0

I currently have a script that invokes bin/sstable2json on all files of the pattern /var/lib/cassandra/data/fake-keyspace/*-Data.db and saves the output from std out to disk. However the exported files are starting to take 10x the space of the all files in /var/lib/cassandra

I took this approach after reading the following section http://wiki.apache.org/cassandra/Operations#Import_.2BAC8_export

What are some of the best practices for get data out from one cluster to another? Just to be clear, I am not trying to add additional nodes to a ring, but rather move data out of one ring to another in a process that is repeatable.

Any help or nudge in the right direction would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:51:44+00:00Added an answer on May 23, 2026 at 6:51 pm

    Just copy the sstable files. The only reason to use json is for (1) debugging or (2) you want to do some kind of processing in the json form before re-loading.

    So, just rename all the sstable files (from a snapshot, if you’re running live in the first cluster) to unique numbers (order doesn’t matter, as long as they’re unique), and copy them all to the data directory on the target machine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a SQL script that inserts data (via INSERT statements currently numbering in
I currently have a script that scrapes proxies off websites, but I'm just wondering
I have a batch script that calls a process and currently it waits for
I currently have a script which allows me to output the list of files
I have a makefile that invokes a python script that lives in the same
Currently I have a perl script that runs forever on my server, checking a
I currently have a script that does something like ./a | ./b | ./c
I have a script that needs to extract data temporarily to do extra operations
I currently have a script that outputs a secondary navigation based on the site
I currently have a perl script that imports HTML and converts it to plain

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.