# Backup and restore es 5.6.x restoring to a different cluster

**URL:** <https://discuss.elastic.co/t/backup-and-restore-es-5-6-x-restoring-to-a-different-cluster/137566>\
**Category:** Elasticsearch\
**Created:** [June 27, 2018, 8:14am UTC](https://discuss.elastic.co/t/backup-and-restore-es-5-6-x-restoring-to-a-different-cluster/137566 "2018-06-27T08:14:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [June 27, 2018, 8:14am UTC](https://discuss.elastic.co/t/backup-and-restore-es-5-6-x-restoring-to-a-different-cluster/137566/1 "2018-06-27T08:14:45Z")

</div>

i have two clusters also is es 5.6.x . cluster a cluster b  
in one cluster a i with shard nfs backup data.  
i wan't to know how restore the backup in cluster a to cluster b,  
i find it support in  
[https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-snapshots.html#\_restoring\_to\_a\_different\_cluster](https://www.elastic.co/guide/en/elasticsearch/reference/5.6/modules-snapshots.html#_restoring_to_a_different_cluster)

but not give me the commdline ?  
how ca do about it?

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [June 27, 2018, 8:24am UTC](https://discuss.elastic.co/t/backup-and-restore-es-5-6-x-restoring-to-a-different-cluster/137566/2 "2018-06-27T08:24:27Z")

</div>

slove it .  
copy the file to the path.repo  
in cluster b need create the same repository name with cluster a  
then in cluster b can restore the snapshot

---

<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 25, 2018, 8:24am UTC](https://discuss.elastic.co/t/backup-and-restore-es-5-6-x-restoring-to-a-different-cluster/137566/3 "2018-07-25T08:24:35Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
