Backing up DSE Search data directories

Steps to back up DSE Search data directories.

As a starting point, use these steps to create backups for DSE Search data directories. These steps apply when the backups are intended to restore a cluster with the same token layout, and the backups can be created in a rolling fashion.

Procedure

For each node:
  1. Drain the node to ensure that the search indexes are in sync with their backing tables. This command forces a memtable flush that forces a Solr hard commit:
    nodetool drain
  2. Shut down the node.
  3. Manually back up your data directories. The default location for index files is /var/lib/cassandra/data/solr.data.
  4. Restart the node.