# Mirror index of one server to another server

**URL:** https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431
**Category:** Elasticsearch
**Created:** [June 22, 2017, 10:31am UTC](https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431 "2017-06-22T10:31:50Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Sunil\_M](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sunil\_M](https://discuss.elastic.co/u/Sunil_M)
#### Post date: [June 22, 2017, 10:31am UTC](https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431/1 "2017-06-22T10:31:50Z")

</div>

Hi,

I have 2 servers.  
Server1 the index is updated every second.  
So data is increasing tremendously.

Now i need to backup this index to another server that is server2.

Can i sync all the data(mirror) from server1 to server2 without any interruption?  
And i want the server2 act as as a mirror for server1 all the time.  
I am using elastic-5X.  
Can anyone please help me with the steps to do this process ?  
Help very much appreciated.

---

<div class="post-metadata">

### Author: ![promiseofcake](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/promiseofcake/32/18365_2.png) [@promiseofcake](https://discuss.elastic.co/u/promiseofcake)
#### Post date: [June 22, 2017, 4:12pm UTC](https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431/2 "2017-06-22T16:12:01Z")

</div>

The [Snapshot and Restore API](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) might be something you could take advantage of. Otherwise it might make sense to fork at ingestion so you can replicate the data automatically to another cluster.

What are you looking to accomplish?

---

<div class="post-metadata">

### Author: ![Sunil\_M](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sunil\_M](https://discuss.elastic.co/u/Sunil_M)
#### Post date: [June 23, 2017, 6:24am UTC](https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431/3 "2017-06-23T06:24:57Z")

</div>

Hi Lucas,

Thanks for the reply, what i need is

I have a elasticserach insert data every sec in server1. so it has around 40 million data

Now I have a new server2 to which i want to mirror the elasticserach server 1 so that server2 will act as a backup for the server1. ie: i need to have mirror of server1 in server2 all the time.

As you said i would like to replicate the data automatically to another cluster in another server? How it can be accomplished in elasticserach 5x ? what are steps to do it?

Thanks you so much

---

<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 21, 2017, 6:25am UTC](https://discuss.elastic.co/t/mirror-index-of-one-server-to-another-server/90431/4 "2017-07-21T06:25:03Z")

</div>

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