# Restoring to a different cluster

**URL:** <https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [June 6, 2022, 6:06am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421 "2022-06-06T06:06:30Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 6, 2022, 6:06am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/1 "2022-06-06T06:06:30Z")

</div>

Hi all ,  
Can someone list down all the settings needed to restore a snapshot to different cluster .  
Assuming the new cluster has no configuration at all .  
Some basic questions :

1. How many nodes do we need to assign to new cluster , is it the same no. of nodes as the original cluster ?
2. What all settings do i need to keep in mind for successful restoring
3. How many number of shards do we have to allocate  
etc ..

Thanks ,

---

<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 6, 2022, 7:36am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/2 "2022-06-06T07:36:00Z")

</div>

1. No, just as long as it can hold the size of the index
2. Allocation filtering is the big one
3. You don't, the restore will handle that

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 6, 2022, 8:42am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/3 "2022-06-06T08:42:13Z")

</div>

Thanks for responding Mark ,  
So i don't need to create as many nodes as original cluster on new cluster ?  
They would be automatically managed by ES restore ?  
or let's say i have zero nodes in new cluster , will the ES handle that also ,assuming i have enough storage capacity ?

---

<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:** [June 6, 2022, 8:49am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/4 "2022-06-06T08:49:57Z")

</div>

> [@A\_j\_xx](#):
>
> or let's say i have zero nodes in new cluster

This does not make sense. You must have at least one data node for the cluster to be able to store data at all. Data nodes provide storage capacity.

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 6, 2022, 8:57am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/5 "2022-06-06T08:57:40Z")

</div>

yes that i know , zero nodes here means not the same number of nodes as the original cluster 🙂  
Thanks anyway !

---

<div class="post-metadata">

**Author:** ![A\_j\_xx](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_j_xx/32/98491_2.png) [@A\_j\_xx](https://discuss.elastic.co/u/A_j_xx)\
**Post date:** [June 6, 2022, 9:10am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/6 "2022-06-06T09:10:29Z")

</div>

Basically i just wanted to ask , my original setup as 12 nodes : [3 master , 6 data , 3 coordinator] do i need to make sure that the new cluster has similar setting or similar node setting before restoring index snapshot taken on original cluster ?

---

<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 6, 2022, 9:25am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/7 "2022-06-06T09:25:45Z")

</div>

> [@A\_j\_xx](#):
>
> yes that i know , zero nodes here means not the same number of nodes as the original cluster 🙂

Fair enough, but that's not what you wrote, so it is extremely confusing 😉

---

<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 4, 2022, 9:26am UTC](https://discuss.elastic.co/t/restoring-to-a-different-cluster/306421/8 "2022-07-04T09:26:33Z")

</div>

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