# Restore Snapshot from different cluster

**URL:** <https://discuss.elastic.co/t/restore-snapshot-from-different-cluster/102882>\
**Category:** Elasticsearch\
**Created:** [October 5, 2017, 5:33pm UTC](https://discuss.elastic.co/t/restore-snapshot-from-different-cluster/102882 "2017-10-05T17:33:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ParitoshBh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paritoshbh/32/22487_2.png) [@ParitoshBh](https://discuss.elastic.co/u/ParitoshBh)\
**Post date:** [October 5, 2017, 5:33pm UTC](https://discuss.elastic.co/t/restore-snapshot-from-different-cluster/102882/1 "2017-10-05T17:33:36Z")

</div>

An overview before discussing the problem, I have 2 clusters running, Cluster A and Cluster B.

Cluster A is primarily for testing. It has 2 nodes, Indexer Node, and Search Node. The Indexer node is responsible for generating indices, creating snapshots. Search node is solely responsible for handling search queries.

Cluster B is for production use and for now has just 1 node which is responsible for handling search queries.

For a generated index to reach production node (Cluster B), it has to first generate on Indexer node based, go through some validation checks, and then be pushed to production node.

I am able to automate the initial process i.e. generate index on Indexer node, do the validations, and create snapshot (at `/usr/local/elasticsearch/snapshots/`) (using official ES client). However I am stuck at figuring out a way to transfer the snapshot to Cluster B wherein the index can be restored.

Is there a way ElasticSearch can restore the snapshot remotely and/or if the official ES client can transfer the snapshots across clusters (at `/usr/local/elasticsearch/snapshots/` on Cluster B)?

I understand Re-index api can do something similar remotely but snapshot/restore fits my use case better.

Any help will be appreciated 🙂

---

<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:** [October 6, 2017, 1:25am UTC](https://discuss.elastic.co/t/restore-snapshot-from-different-cluster/102882/2 "2017-10-06T01:25:45Z")

</div>

> [@ParitoshBh](#):
>
> Is there a way Elasticsearch can restore the snapshot remotely and/or if the official ES client can transfer the snapshots across clusters (at /usr/local/elasticsearch/snapshots/ on Cluster B)?

Only if the remote filesystem is mounted locally.

---

<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:** [November 3, 2017, 1:25am UTC](https://discuss.elastic.co/t/restore-snapshot-from-different-cluster/102882/3 "2017-11-03T01:25:57Z")

</div>

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