ANUJ PAREEK
ANUJ PAREEK

Reputation: 23

How to take backup of keyspace in cassandra by command?

I want to take the backup of a keyspace in cassandra, Using command.

Upvotes: 0

Views: 398

Answers (1)

Greg Prisament
Greg Prisament

Reputation: 2216

Use the nodetool command. Something like:

nodetool -h localhost -p 7199 snapshot mykeyspace

Take a look at the documentation here: http://docs.datastax.com/en/cassandra/2.0/cassandra/operations/ops_backup_restore_c.html

Upvotes: 2

Related Questions