# Recover indice(s) when changing gateway from S3 to Local

**URL:** <https://discuss.elastic.co/t/recover-indice-s-when-changing-gateway-from-s3-to-local/10035>\
**Category:** Elasticsearch\
**Created:** [December 11, 2012, 11:43am UTC](https://discuss.elastic.co/t/recover-indice-s-when-changing-gateway-from-s3-to-local/10035 "2012-12-11T11:43:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marckysharky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marckysharky/32/2173_2.png) [@marckysharky](https://discuss.elastic.co/u/marckysharky)\
**Post date:** [December 11, 2012, 11:43am UTC](https://discuss.elastic.co/t/recover-indice-s-when-changing-gateway-from-s3-to-local/10035/1 "2012-12-11T11:43:26Z")

</div>

I have changed the configuration of an ElasticSearch instance to no longer  
us the S3 Gateway plugin.

I have all the pre-existing indices on the filesystem, but they are not  
recognised by ElasticSearch on re-start.

Is there anything I can do to "recover" or "re-index" these indices?

From what I understand, it is because they are missing their corresponding  
"\_state" directories and meta.

Many thanks in advance for any help.

--

---

<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 6, 2017, 3:00am UTC](https://discuss.elastic.co/t/recover-indice-s-when-changing-gateway-from-s3-to-local/10035/2 "2017-07-06T03:00:21Z")

</div>


