# Adding Data into index from backup index while both index has same name

**URL:** <https://discuss.elastic.co/t/adding-data-into-index-from-backup-index-while-both-index-has-same-name/8366>\
**Category:** Elasticsearch\
**Created:** [July 9, 2012, 6:13pm UTC](https://discuss.elastic.co/t/adding-data-into-index-from-backup-index-while-both-index-has-same-name/8366 "2012-07-09T18:13:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sumit\_Guptaa](https://avatars.discourse-cdn.com/v4/letter/s/e8c25b/32.png) [@Sumit\_Guptaa](https://discuss.elastic.co/u/Sumit_Guptaa)\
**Post date:** [July 9, 2012, 6:13pm UTC](https://discuss.elastic.co/t/adding-data-into-index-from-backup-index-while-both-index-has-same-name/8366/1 "2012-07-09T18:13:17Z")

</div>

hi all,

i have an index back up which has 10 GB data and i have an index which have 20 GB data both the index has same name and we want to add these back up into my index can anybody tell me how we can implemented this in elastic search.

I am using ElasticSearch 0.18.7.

Regards,  
Sumit Gupta

---

<div class="post-metadata">

**Author:** ![drewr](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/drewr/32/7803_2.png) [@drewr](https://discuss.elastic.co/u/drewr)\
**Post date:** [July 10, 2012, 2:35pm UTC](https://discuss.elastic.co/t/adding-data-into-index-from-backup-index-while-both-index-has-same-name/8366/2 "2012-07-10T14:35:52Z")

</div>

Sumit Guptaa wrote:

> i have an index back up which has 10 GB data and i have an index  
> which have 20 GB data both the index has same name and we want to  
> add these back up into my index can anybody tell me how we can  
> implemented this in Elasticsearch.
> 
> I am using Elasticsearch 0.18.7.

Are you trying to merge them together somehow? You could write some  
Lucene code to manage it directly with the raw indices but ES doesn't  
support this.

And even if you did merge them together, you won't be able to get ES  
to recognize the new index. Best to just reindex into a 0.19.8  
cluster where you'll be able to back-up the files on disk and  
revivify them later (that feature was added during that version).

-Drew

---

<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:20am UTC](https://discuss.elastic.co/t/adding-data-into-index-from-backup-index-while-both-index-has-same-name/8366/3 "2017-07-06T03:20:42Z")

</div>


