I have taken backup of my keyspace in cassandra using this link cassandra-backup.sh
To restore I have written a script which copies the contents from backup folders which contains snapshots and paste in the respective directory under /var/lib/cassandra/data/mykeypsace/, but when I see the tables contents for mykeyspace nothing is restored. Example, backup folder: path/mykeyspace/tableOne/snapshot/all-contents to var/lib/cassandra/data/mykeyspace/tableOne/all-contents
Process I follow to restore:
- Drop the keyspace
- Restore the schema for mykeyspace (.cql file)
- Stop cassandra service
- Run my restore script (copy paste thing)
- nodetool repair
- Start cassandra service
Am I missing something?
Other Details: cqlsh 5.0.1 | Cassandra 3.11.3 | ubuntu 16.04