# Recover data after the lost of master \[7.1.1\]

**URL:** <https://discuss.elastic.co/t/recover-data-after-the-lost-of-master-7-1-1/187775>\
**Category:** Elasticsearch\
**Created:** [June 27, 2019, 7:58am UTC](https://discuss.elastic.co/t/recover-data-after-the-lost-of-master-7-1-1/187775 "2019-06-27T07:58:05Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 27, 2019, 11:42am UTC](https://discuss.elastic.co/t/recover-data-after-the-lost-of-master-7-1-1/187775/5 "2019-06-27T11:42:37Z")

</div>

After losing the masters there's no guarantees that your data will come back intact, but you can try the [`elasticsearch-node` tool](https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html), particularly [`elasticsearch-node detach-cluster`](https://www.elastic.co/guide/en/elasticsearch/reference/current/node-tool.html#node-tool-detach-cluster). Please read the instructions carefully and understand the risks before proceeding.

For future reference, it's vitally important to use persistent volumes for the master-eligible nodes in the cluster, as well as for the data nodes.

---

_[View the full topic](https://discuss.elastic.co/t/recover-data-after-the-lost-of-master-7-1-1/187775)._
