# Cluster data migration to another system

**URL:** <https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552>\
**Category:** Elasticsearch\
**Created:** [November 5, 2012, 6:14am UTC](https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552 "2012-11-05T06:14:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pasha](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@Pasha](https://discuss.elastic.co/u/Pasha)\
**Post date:** [November 5, 2012, 6:14am UTC](https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552/1 "2012-11-05T06:14:05Z")

</div>

I have the ES cluster with 9 shards and replicas, where all the data is  
stored locally on the nodes. We have the process complete data migration  
from one system to another. Since introduction of ES - we need to be able to  
migrate also ES indices. We are using Netapp snap-mirror mechanism for the  
rest of the data.  
What would be the best practice, so, when the second system starts it will  
actually build the cluster from migrated data.

Thank you,  
Pasha

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Cluster-data-migration-to-another-system-tp4024814.html](http://elasticsearch-users.115913.n3.nabble.com/Cluster-data-migration-to-another-system-tp4024814.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--

---

<div class="post-metadata">

**Author:** ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)\
**Post date:** [November 6, 2012, 7:20pm UTC](https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552/2 "2012-11-06T19:20:07Z")

</div>

Hi,

If I understand correctly, you can:

1. Reindex from old cluster to new cluster
2. Add new nodes to the existing cluster, increase replication factor and,  
after you've verified all data has been replicated over, shut down old  
nodes... slowly, making sure the cluster state doesn't turn red.

## Otis

Search Analytics - [Cloud Monitoring Tools & Services | Sematext](http://sematext.com/search-analytics/index.html)  
Performance Monitoring - [Sematext Monitoring | Infrastructure Monitoring Service](http://sematext.com/spm/index.html)

On Monday, November 5, 2012 1:14:05 AM UTC-5, Pasha wrote:

> I have the ES cluster with 9 shards and replicas, where all the data is  
> stored locally on the nodes. We have the process complete data migration  
> from one system to another. Since introduction of ES - we need to be able  
> to  
> migrate also ES indices. We are using Netapp snap-mirror mechanism for the  
> rest of the data.  
> What would be the best practice, so, when the second system starts it will  
> actually build the cluster from migrated data.
> 
> Thank you,  
> Pasha
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/Cluster-data-migration-to-another-system-tp4024814.html](http://elasticsearch-users.115913.n3.nabble.com/Cluster-data-migration-to-another-system-tp4024814.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

--

---

<div class="post-metadata">

**Author:** ![Pasha](https://avatars.discourse-cdn.com/v4/letter/p/c5a1d2/32.png) [@Pasha](https://discuss.elastic.co/u/Pasha)\
**Post date:** [November 11, 2012, 5:39am UTC](https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552/3 "2012-11-11T05:39:53Z")

</div>

Hello,

Thank you for your replies and I would like to express myself more clearly (sorry for mess).

1. We have staging and production system and we have the process in place of move data from production to staging environments
2. ES cluster is currently configured to write its data on the local cluster machines. I need to store cluster data on the centralized storage (Netapp)
3. On the staging environment - we perform full cluster restart that points to predefined central storage (Netapp) for this environment and "imports" copied cluster data.
4. Actually it looks like I need the live replica of the ES cluster data to be saved in central place

So, mu questions are:

1. What would be the best practice for storing cluster data in centralized place (instead or in parallel with local nodes).
2. Should I use gateway or point the cluster files to the central storage place?
3. Are replicas stored with the cluster data upon shutdown and restart?

Thanks,  
Pasha

---

<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:04am UTC](https://discuss.elastic.co/t/cluster-data-migration-to-another-system/9552/4 "2017-07-06T03:04:56Z")

</div>


