# Restore snapshot to new server

**URL:** <https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [April 5, 2022, 7:35am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598 "2022-04-05T07:35:06Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rizky\_Hudha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rizky_hudha/32/87736_2.png) [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)\
**Post date:** [April 5, 2022, 7:35am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598/1 "2022-04-05T07:35:07Z")

</div>

hello i want to ask, is it possible to restore snapshot from old server to new server

---

<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:** [April 5, 2022, 7:45am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598/2 "2022-04-05T07:45:19Z")

</div>

Yes - as long as the new server is running the same or newer version of Elasticsearch. You also need to ensure that the indices being restored were created in a version of Elasticsearch that is compatible with the version you are installing into (Elasticsearch can only read indices created under the previous major version, not older versions).

---

<div class="post-metadata">

**Author:** ![Rizky\_Hudha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rizky_hudha/32/87736_2.png) [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)\
**Post date:** [April 5, 2022, 8:16am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598/3 "2022-04-05T08:16:31Z")

</div>

can you give an example of how to restore to a new server?

---

<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:** [April 5, 2022, 9:25am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598/4 "2022-04-05T09:25:51Z")

</div>

Do the following:

- Verify all indices were created in a supported version using e.g. the [cluster stats API](https://www.elastic.co/guide/en/elasticsearch/reference/8.1/cluster-stats.html).
- Create and take a snapshot using the [snapshot and restore API](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html).
- Make this snapshot available to the new cluster and set it up as a read-only snapshot repository.
- Use the restore API to restore indices from 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:** [May 3, 2022, 9:25am UTC](https://discuss.elastic.co/t/restore-snapshot-to-new-server/301598/5 "2022-05-03T09:25:55Z")

</div>

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