# Duplicate an elasticsearch cluster

**URL:** <https://discuss.elastic.co/t/duplicate-an-elasticsearch-cluster/7933>\
**Category:** Elasticsearch\
**Created:** [May 31, 2012, 6:55pm UTC](https://discuss.elastic.co/t/duplicate-an-elasticsearch-cluster/7933 "2012-05-31T18:55:35Z")\
**Posts on this page:** 2\
**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:** [May 31, 2012, 6:55pm UTC](https://discuss.elastic.co/t/duplicate-an-elasticsearch-cluster/7933/1 "2012-05-31T18:55:35Z")

</div>

I just started to use elasticsearch and created a small cluster (2 machines)  
filled with some index data. So far everything works well.

Now I have to duplicate the cluster on another two machines and hopefully I  
do not have to index everything again.

I did one-to-one copying for the data directory from the old cluster to the  
new cluster. After I restarted the cluster, my client code (in pyes) shows  
error "IndexMissingException: [test-profile] missing", where "test-profile"  
is the index name.

Since the data directory contains mata info, I thought restarting the  
cluster with copied data should automatically work. Now it seems not the  
case. Could someone point out what could be the potential problem here?

Thanks.

--  
View this message in context: [http://elasticsearch-users.115913.n3.nabble.com/Duplicate-an-elasticsearch-cluster-tp4018633.html](http://elasticsearch-users.115913.n3.nabble.com/Duplicate-an-elasticsearch-cluster-tp4018633.html)  
Sent from the ElasticSearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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:26am UTC](https://discuss.elastic.co/t/duplicate-an-elasticsearch-cluster/7933/2 "2017-07-06T03:26:08Z")

</div>


