# Local gateway guide

**URL:** https://discuss.elastic.co/t/local-gateway-guide/7951
**Category:** Elasticsearch
**Created:** [June 2, 2012, 9:52pm UTC](https://discuss.elastic.co/t/local-gateway-guide/7951 "2012-06-02T21:52:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Welson\_Wong](https://avatars.discourse-cdn.com/v4/letter/w/edb3f5/32.png) [@Welson\_Wong](https://discuss.elastic.co/u/Welson_Wong)
#### Post date: [June 2, 2012, 9:52pm UTC](https://discuss.elastic.co/t/local-gateway-guide/7951/1 "2012-06-02T21:52:17Z")

</div>

After reading the elasticsearch doc  
[http://www.elasticsearch.org/guide/reference/modules/gateway/local.html?,](http://www.elasticsearch.org/guide/reference/modules/gateway/local.html?,)  
I am still not quite sure about how to use local gateway to backup/  
restore a node.

What I plan to do is one-to-one copy all data/state information of  
each node to the machines of another cluster so I can duplicate the  
cluster. Could someone point to a doc that explains steps or  
suggestion how to do this?

Thanks.

---

<div class="post-metadata">

### Author: ![Radu\_Gheorghe1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/radu_gheorghe1/32/2688_2.png) [@Radu\_Gheorghe1](https://discuss.elastic.co/u/Radu_Gheorghe1)
#### Post date: [June 5, 2012, 6:12am UTC](https://discuss.elastic.co/t/local-gateway-guide/7951/2 "2012-06-05T06:12:19Z")

</div>

Hi,

By looking here:  
[http://elasticsearch-users.115913.n3.nabble.com/ES-Backup-and-Restore-td3740144.html](http://elasticsearch-users.115913.n3.nabble.com/ES-Backup-and-Restore-td3740144.html)

It seems enough if you disable flush, then copy your data directory.

On Jun 3, 12:52 am, aw [airwayw...@gmail.com](mailto:airwayw...@gmail.com) wrote:

> After reading the elasticsearch dochttp://www.elasticsearch.org/guide/reference/modules/gateway/local.html?,  
> I am still not quite sure about how to use local gateway to backup/  
> restore a node.
> 
> What I plan to do is one-to-one copy all data/state information of  
> each node to the machines of another cluster so I can duplicate the  
> cluster. Could someone point to a doc that explains steps or  
> suggestion how to do this?
> 
> Thanks.

---

<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:25am UTC](https://discuss.elastic.co/t/local-gateway-guide/7951/3 "2017-07-06T03:25:39Z")

</div>


