# How to restore snapshot to a different cluster

**URL:** <https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [February 3, 2022, 11:39am UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182 "2022-02-03T11:39:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Adityadgr8](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Adityadgr8](https://discuss.elastic.co/u/Adityadgr8)\
**Post date:** [February 3, 2022, 11:39am UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/1 "2022-02-03T11:39:07Z")

</div>

Hello Guys,

I have taken a snapshot of Elasticsearch db in one of the cluster(here Elasticsearch is running as kubernetes pods, 3 pods of Elasticsearch are running) and now I want that snapshot to be restored into a completeely different server(here Elasticsearch is running as standalone/as a service)

My question is, Can I copy the snapshot repo from one server to another and restore it there?

How can I restore it, Can anyone tell me the procedure in this situation?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 3, 2022, 1:50pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/2 "2022-02-03T13:50:03Z")

</div>

Is this a snapshot taken through the [snapshot API](https://www.elastic.co/guide/en/elasticsearch/reference/7.17/snapshot-restore-apis.html) onto some form of shared storage?

---

<div class="post-metadata">

**Author:** ![Adityadgr8](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Adityadgr8](https://discuss.elastic.co/u/Adityadgr8)\
**Post date:** [February 3, 2022, 3:27pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/3 "2022-02-03T15:27:44Z")

</div>

I have taken snapshot from kibana PUT query. And we don't have any shared location between the old cluster(where snapshot is present) and new server(where we need to restore the snapshot).

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [February 3, 2022, 3:33pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/4 "2022-02-03T15:33:13Z")

</div>

I am not sure I follow. Can you please outline the exact steps you have taken so far?

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 3, 2022, 3:36pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/5 "2022-02-03T15:36:27Z")

</div>

You can possibly copy the repository directory while no snapshot is running.

How to backup a repository is described here.  
[Register a snapshot repository | Elasticsearch Guide [7.17] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-register-repository.html#snapshots-repository-backup).

---

<div class="post-metadata">

**Author:** ![Adityadgr8](https://avatars.discourse-cdn.com/v4/letter/a/4bbf92/32.png) [@Adityadgr8](https://discuss.elastic.co/u/Adityadgr8)\
**Post date:** [February 6, 2022, 2:32pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/6 "2022-02-06T14:32:18Z")

</div>

Thanks @Tomo_M, I have manually copied the content of snapshotrepo to the another cluster and restored it...

---

<div class="post-metadata">

**Author:** ![Tomo\_M](https://avatars.discourse-cdn.com/v4/letter/t/848f3c/32.png) [@Tomo\_M](https://discuss.elastic.co/u/Tomo_M)\
**Post date:** [February 6, 2022, 2:43pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/7 "2022-02-06T14:43:02Z")

</div>

I'm glad to hear it worked out!

---

<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:** [March 6, 2022, 2:43pm UTC](https://discuss.elastic.co/t/how-to-restore-snapshot-to-a-different-cluster/296182/8 "2022-03-06T14:43:09Z")

</div>

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