how to create a snapshot of entire Node and copy all snapshot to one directory
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
how to create a snapshot of entire Node and copy all snapshot to one directory
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!
6 People are following this question.
DataStax Enterprise is powered by the best distribution of Apache Cassandra ™
© 2022 DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.
Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries.
Privacy Policy Terms of Use