# Migrate from Local gateway to HDFS or S3?

**URL:** <https://discuss.elastic.co/t/migrate-from-local-gateway-to-hdfs-or-s3/4021>\
**Category:** Elasticsearch\
**Created:** [March 3, 2011, 3:12pm UTC](https://discuss.elastic.co/t/migrate-from-local-gateway-to-hdfs-or-s3/4021 "2011-03-03T15:12:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Daniel\_Maher](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@Daniel\_Maher](https://discuss.elastic.co/u/Daniel_Maher)\
**Post date:** [March 3, 2011, 3:12pm UTC](https://discuss.elastic.co/t/migrate-from-local-gateway-to-hdfs-or-s3/4021/1 "2011-03-03T15:12:59Z")

</div>

Hello,

We currently have a 4-node Elasticsearch 0.15 cluster running using  
NIO FS with the Local gateway type. It works very well and so far we  
are quite happy with the platform in general (so thanks for that!).

I am curious to know if there is a suggested migration path for moving  
from using Local FS to another gateway, such as HDFS or S3 (via  
Scality, for example)? Is it possible to do with minimal pain? I'd  
rather not lose any data, if possible. 🙂

Thank you all !

--  
Daniel Maher  
« can't talk, too busy calculating computrons. »

---

<div class="post-metadata">

**Author:** ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)\
**Post date:** [March 3, 2011, 5:57pm UTC](https://discuss.elastic.co/t/migrate-from-local-gateway-to-hdfs-or-s3/4021/2 "2011-03-03T17:57:06Z")

</div>

Changing the gateway type requires reindexing of the data, there is no migration from local gateway to shared (S3 or HDFS)... . You can start another cluster and reindex the data there, and then switch between the two.  
On Thursday, March 3, 2011 at 5:12 PM, Daniel Maher wrote:

> Hello,
> 
> We currently have a 4-node Elasticsearch 0.15 cluster running using  
> NIO FS with the Local gateway type. It works very well and so far we  
> are quite happy with the platform in general (so thanks for that!).
> 
> I am curious to know if there is a suggested migration path for moving  
> from using Local FS to another gateway, such as HDFS or S3 (via  
> Scality, for example)? Is it possible to do with minimal pain? I'd  
> rather not lose any data, if possible. 🙂
> 
> Thank you all !
> 
> --  
> Daniel Maher  
> Â« can't talk, too busy calculating computrons. Â»

---

<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, 4:10am UTC](https://discuss.elastic.co/t/migrate-from-local-gateway-to-hdfs-or-s3/4021/3 "2017-07-06T04:10:56Z")

</div>


