Cassandra Disaster Recovery¶
In the (extremely unlikely) case that all Cassandra data is lost, it is possible to recover this information by iterating through all objects stored in the object store. A rough overview of the process is as follows (for Scality sproxyd):
Index Objects Recovery¶
List index objects in object storage
Use HEAD requests to determine the index objects’ metadata
Add recovered index objects to Cassandra
Mail Objects Recovery¶
Read & refresh indices for each user/mailbox
Dump index data and add object information to Cassandra
(Optional) Look for unattached mail objects and remove them [background process]