# Migrating "foundelasticsearch" between heroku apps

**URL:** <https://discuss.elastic.co/t/migrating-foundelasticsearch-between-heroku-apps/51747>\
**Category:** Elasticsearch\
**Created:** [June 3, 2016, 12:30am UTC](https://discuss.elastic.co/t/migrating-foundelasticsearch-between-heroku-apps/51747 "2016-06-03T00:30:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chris\_Curvey](https://avatars.discourse-cdn.com/v4/letter/c/fbc32d/32.png) [@Chris\_Curvey](https://discuss.elastic.co/u/Chris_Curvey)\
**Post date:** [June 3, 2016, 12:30am UTC](https://discuss.elastic.co/t/migrating-foundelasticsearch-between-heroku-apps/51747/1 "2016-06-03T00:30:26Z")

</div>

I'm using a "Found Elasticsearch" instance on Heroku. While I was setting up, I created and loaded my indexes under one application (foo), which was my "staging" environment. Now that everything is set up, I would like to migrate that Elasticsearch index to another application (bar) which is my "production" environment. (I really don't want to go through several days of re-loading data.)

I can set up cross-app conversation by setting the FOUNDELASTICSEARCH\_URL setting in "bar", but I would like to move the "ownership" of the index for accounting and safety purposes.

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 3, 2016, 12:38am UTC](https://discuss.elastic.co/t/migrating-foundelasticsearch-between-heroku-apps/51747/2 "2016-06-03T00:38:18Z")

</div>

So you want to copy the index and rename it?

---

<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 5, 2017, 10:46pm UTC](https://discuss.elastic.co/t/migrating-foundelasticsearch-between-heroku-apps/51747/3 "2017-07-05T22:46:44Z")

</div>


