How do backups and restores work in Cassandra with snapshots and incremental backups?
Last updated
nodetool snapshotcreates node-local, point-in-time hard links to live SSTables (near-zero initial space). Clear withnodetool clearsnapshotor they pin old files on disk.Incremental backups (
incremental_backups: true) hard-link each newly flushed SSTable, so a base snapshot plus incrementals reconstructs state.Restore by copying SSTables back and using
nodetool refresh/restart, or stream withsstableloader. Backups are per-node and not globally consistent, so ship them off-box and repair after restore.
- https://cassandra.apache.org/doc/latest/cassandra/managing/operating/backups.html
- https://www.pythian.com/blog/cassandra-backups-using-nodetool
- https://www.baculasystems.com/blog/cassandra-backup-restore/
- https://docs.datastax.com/en/dse/6.9/managing/tools/nodetool/manage-backups.html
- https://docs.datastax.com/en/cassandra-oss/3.0/cassandra/operations/opsBackupSnapshotRestore.html
- https://axonops.com/blog/best-practices-for-apache-cassandra-backup-and-recovery/
- https://adamhutson.com/restoring-cassandra-data/
- https://medium.com/@sunny.basrai/automate-and-schedule-backups-for-apache-cassandra-for-disaster-recovery-2481fcf1bd7d