Skip to Content
Mastering Apache Cassandra 3.x - Third Edition
book

Mastering Apache Cassandra 3.x - Third Edition

by Aaron Ploetz, Tejaswi Malepati
October 2018
Beginner to intermediate content levelBeginner to intermediate
348 pages
10h
English
Packt Publishing
Content preview from Mastering Apache Cassandra 3.x - Third Edition

Taking snapshots

Snapshots can be taken system-wide, or focused on a single keyspace or table. Invoking a snapshot is done very easily with nodetool. To take a snapshot for all tables in a specific keyspace, simply type the name of that keyspace on the end of the command:

nodetool snapshot packt_chapter3Requested creating snapshot(s) for [packt_chapter3] with snapshot name [1538941504326] and options {skipFlush=false}Snapshot directory: 1538941504326

To take a snapshot for a specific table, use the --table option. Follow that with the table and keyspace names:

nodetool snapshot --table security_logs_by_location packt_chapter3Requested creating snapshot(s) for [packt_chapter3] with snapshot name [1538941525101] and options {skipFlush=false} ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Apache Cassandra - Second Edition

Mastering Apache Cassandra - Second Edition

Nishant Neeraj

Publisher Resources

ISBN: 9781789131499Supplemental Content