Recovering a key space snapshot requests all the snapshots made for a certain column family. If you use an incremental backup, it is also necessary to provide the incremental backups created after the snapshot. There are multiple ways to perform a recovery from the snapshot. We can use the SSTable loader tool (used exclusively on the Linux distribution) or can recreate the installation method.
If the recovery is running on one node, we must first shutdown the node. If the recovery is for the entire cluster, it is necessary to restart each node in the cluster. Here is the procedure:
- Shut down the node.
- Delete all the log files in:
C:\Program Files\DataStax Community\logs
. - Delete all
.db
files within a specified key space and column family:C:\Program Files\DataStax Community\data\data\en\cars
. - Locate all Snapshots related to the column family:
C:\Program Files\DataStax Community\data\data\en\cars\snapshots\1,351,279,613,842,
. - Copy them to:
C:\Program Files\DataStax Community...