# Recover the old indices after restarting Elasticsearch

**URL:** <https://discuss.elastic.co/t/recover-the-old-indices-after-restarting-elasticsearch/36964>\
**Category:** Elasticsearch\
**Created:** [December 11, 2015, 10:05am UTC](https://discuss.elastic.co/t/recover-the-old-indices-after-restarting-elasticsearch/36964 "2015-12-11T10:05:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Juan\_Diaz\_Gonzalez](https://avatars.discourse-cdn.com/v4/letter/j/ea5d25/32.png) [@Juan\_Diaz\_Gonzalez](https://discuss.elastic.co/u/Juan_Diaz_Gonzalez)\
**Post date:** [December 11, 2015, 10:05am UTC](https://discuss.elastic.co/t/recover-the-old-indices-after-restarting-elasticsearch/36964/1 "2015-12-11T10:05:40Z")

</div>

I have an elasticsearch cluster with three nodes and with this configuration:

```
cluster.name: my_cluster_name

bootstrap.mlockall: true

indices.recovery.max_bytes_per_sec: 100mb
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["ip_node_1", "ip_node_2"]

path.logs: elasticsearch/logs
path.data: elasticsearch/data
path.work: elasticsearch/work
path.plugins: elasticsearch/plugins

http.cors.enabled: true
http.cors.allow-origin: /.*/
http.cors.allow-credentials: true 

index.routing.allocation.disable_allocation: false

```

This cluster was restarted and in the path

`/elasticsearch/data/my_cluster_name/nodes/0/indices`

Where elasticsearch save the indices I can see:

```
ls -las

total 24
4 drwxr-xr-x 6 jdiazg group 4096 Dec 11 09:01 .
4 drwxr-xr-x 4 jdiazg group 4096 Dec 10 14:19 ..
4 drwxr-xr-x 7 jdiazg group 4096 Dec 8 09:29 index_1
4 drwxr-xr-x 5 jdiazg group 4096 Dec 1 03:15 index_2
4 drwxr-xr-x 5 jdiazg group 4096 Nov 20 15:34 index_3
4 drwxr-xr-x 6 jdiazg group 4096 Dec 3 03:42 index_4

```

and with

```
du -sh * 

514M index_1
48M index_2
420K index_3
332K index_4

```

in the three nodes, but if I execute:

`curl localhost:9200/_cat/indices?v`

I am not able to see this old indices and elastic\_search don´t recognice when the name of the cluster after restarting is the same.

---

<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:** [July 5, 2017, 11:31pm UTC](https://discuss.elastic.co/t/recover-the-old-indices-after-restarting-elasticsearch/36964/2 "2017-07-05T23:31:51Z")

</div>


