praveen Dp
praveen Dp

Reputation: 2936

how to export cassandra db into another system?

I am using a Cassandra database with several key-spaces. Now i want to use that key-spaces within another system.

What are valid options to achieve that?

Upvotes: 1

Views: 155

Answers (1)

Andrea Nagy
Andrea Nagy

Reputation: 1231

You can use the cqlsh COPY command to export your data into csv. Then you can import csv into your other database if it is supported, e.g.:

COPY keyspace.tablename (column1, column2, ..) TO '../export.csv' WITH HEADER = TRUE ;

https://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlshCopy.html

Upvotes: 2

Related Questions