# Backup and Restore on different mapping

**URL:** https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403
**Category:** Elasticsearch
**Created:** [February 26, 2015, 7:10am UTC](https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403 "2015-02-26T07:10:31Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![tao\_hiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tao_hiko/32/707_2.png) [@tao\_hiko](https://discuss.elastic.co/u/tao_hiko)
#### Post date: [February 26, 2015, 7:10am UTC](https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403/1 "2015-02-26T07:10:31Z")

</div>

Hi,

I backed index up with snapshot command (index\_A) and I created new index  
with different mapping (index\_B) and then I need to restore data from  
index\_A to index\_B.

But I restored to index\_B but mapping has been changed to index\_A.

Is this possible to restore from another index and keep mapping of  
destination index?

If yes, How to do?

Thank you,  
Hiko

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [February 26, 2015, 7:34am UTC](https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403/2 "2015-02-26T07:34:13Z")

</div>

No. You need to reindex.

David

> Le 26 févr. 2015 à 08:10, tao hiko [taohiko@gmail.com](mailto:taohiko@gmail.com) a écrit :
> 
> Hi,
> 
> I backed index up with snapshot command (index\_A) and I created new index with different mapping (index\_B) and then I need to restore data from index\_A to index\_B.
> 
> But I restored to index\_B but mapping has been changed to index\_A.
> 
> Is this possible to restore from another index and keep mapping of destination index?
> 
> If yes, How to do?
> 
> ## Thank you, Hiko
> 
> You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/4A890A93-4B94-49B4-B659-FD4E191159AB%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/4A890A93-4B94-49B4-B659-FD4E191159AB%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

### Author: ![tao\_hiko](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tao_hiko/32/707_2.png) [@tao\_hiko](https://discuss.elastic.co/u/tao_hiko)
#### Post date: [February 26, 2015, 7:41am UTC](https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403/3 "2015-02-26T07:41:47Z")

</div>

Thank you for your information

On Thursday, February 26, 2015 at 2:34:45 PM UTC+7, David Pilato wrote:

> No. You need to reindex.
> 
> David
> 
> Le 26 févr. 2015 à 08:10, tao hiko \<[tao...@gmail.com](mailto:tao...@gmail.com) \<javascript:\>\> a  
> écrit :
> 
> Hi,
> 
> I backed index up with snapshot command (index\_A) and I created new index  
> with different mapping (index\_B) and then I need to restore data from  
> index\_A to index\_B.
> 
> But I restored to index\_B but mapping has been changed to index\_A.
> 
> Is this possible to restore from another index and keep mapping of  
> destination index?
> 
> If yes, How to do?
> 
> Thank you,  
> Hiko
> 
> --  
> You received this message because you are subscribed to the Google Groups  
> "elasticsearch" group.  
> To unsubscribe from this group and stop receiving emails from it, send an  
> email to [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/b000e173-07f9-4545-a544-3142df128681%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/397f57ec-d429-4ed2-b4e8-922c5665b22c%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/397f57ec-d429-4ed2-b4e8-922c5665b22c%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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, 12:29am UTC](https://discuss.elastic.co/t/backup-and-restore-on-different-mapping/22403/4 "2017-07-06T00:29:56Z")

</div>


