Bringing together the Apache Cassandra experts from the community and DataStax.

Want to learn? Have a question? Want to share your expertise? You are in the right place!

Not sure where to begin? Getting Started

 

question

kumar.bharathb023_111999 avatar image
kumar.bharathb023_111999 asked ·

How do I create a snapshot of an entire node?

how to create a snapshot of entire Node and copy all snapshot to one directory

backup
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

1 Answer

Erick Ramirez avatar image
Erick Ramirez answered ·

You can backup a Cassandra node by running the snapshot command:

$ nodetool snapshot

When you take a snapshot of a table, the backup is created in the snapshots subdirectory of the table. For example:

/path/
  to/
    data/
      keyspace_name/
        table_name-UUID/
          snapshots/
            snapshot_name/

Note that in Cassandra a snapshot is equivalent to a cold backup since SSTables are immutable (they don't change once written to disk).

For more information, see Backing up and restoring data in Apache Cassandra. Cheers!

Share
10 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.