# ES: How to I delete the whole database contents and start clean again, without losing indexes & dashboards?

**URL:** https://discuss.elastic.co/t/es-how-to-i-delete-the-whole-database-contents-and-start-clean-again-without-losing-indexes-dashboards/144310
**Category:** Elasticsearch
**Created:** [August 14, 2018, 9:30am UTC](https://discuss.elastic.co/t/es-how-to-i-delete-the-whole-database-contents-and-start-clean-again-without-losing-indexes-dashboards/144310 "2018-08-14T09:30:02Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![minidan](https://avatars.discourse-cdn.com/v4/letter/m/439d5e/32.png) [@minidan](https://discuss.elastic.co/u/minidan)
#### Post date: [August 14, 2018, 9:30am UTC](https://discuss.elastic.co/t/es-how-to-i-delete-the-whole-database-contents-and-start-clean-again-without-losing-indexes-dashboards/144310/1 "2018-08-14T09:30:02Z")

</div>

Ok, my server is still hosed (see below)... massive amount of unfixed shards etc

[https://discuss.elastic.co/t/elasticsearch-cluster-of-4-nodes-has-master-not-discovered-exception/124984/18](https://discuss.elastic.co/t/elasticsearch-cluster-of-4-nodes-has-master-not-discovered-exception/124984/18)

How do I delete the whole database contents and start clean again, without losing indexes & dashboards? Help appreciated as my boss will be sending me to Microsoft for a solution soon if not sorted!!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 11, 2018, 9:30am UTC](https://discuss.elastic.co/t/es-how-to-i-delete-the-whole-database-contents-and-start-clean-again-without-losing-indexes-dashboards/144310/2 "2018-09-11T09:30:03Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
