Backing 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.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com