The purpose of making Cassandra a NoSQL database is because when we create a single node, we make a copy of it. Copying the database to other nodes and the exact number of copies depend on the replication factor established when we create a new key space.
But as with any other standard SQL database, Cassandra offers to create a backup on the local computer. Cassandra creates a copy of the base using a snapshot. It is possible to make a snapshot of all the key spaces, or just one column family. It is also possible to make a snapshot of the entire cluster using the parallel SSH tool (pssh).
If the user decides to snapshot the entire cluster, it can be reinitiated and uses an incremental backup on each node.
Incremental backups provide a way to get each node configured separately, through setting the incremental_backups
flag to true in cassandra.yaml
.
When incremental backups are enabled, Cassandra hard-links each flushed SSTable to a backups directory under the key space data directory...