# HOW to restore a snapshot from another location

**URL:** <https://discuss.elastic.co/t/how-to-restore-a-snapshot-from-another-location/158208>\
**Category:** Elasticsearch\
**Created:** [November 26, 2018, 3:24pm UTC](https://discuss.elastic.co/t/how-to-restore-a-snapshot-from-another-location/158208 "2018-11-26T15:24:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![elastic\_mostafa](https://avatars.discourse-cdn.com/v4/letter/e/74df32/32.png) [@elastic\_mostafa](https://discuss.elastic.co/u/elastic_mostafa)\
**Post date:** [November 26, 2018, 3:24pm UTC](https://discuss.elastic.co/t/how-to-restore-a-snapshot-from-another-location/158208/1 "2018-11-26T15:24:20Z")

</div>

Hello ,  
I try to restore a snapshot located on another local reader (B:)  
The Elasticsearch directory is located on C:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/c/1caa5841659e05c2727fed14562e40c948ae0fb1.jpeg)

here the snapshot content located on B:\  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/b/3/b3c6fde924b8749d7aeaacd9fbc571c0518311b0.png)

what spets should I follow to restore this snapshot ?  
once done , is it possible to remove the snapshot or ES stills need it ?

thanks

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [November 26, 2018, 5:11pm UTC](https://discuss.elastic.co/t/how-to-restore-a-snapshot-from-another-location/158208/2 "2018-11-26T17:11:15Z")

</div>

> [@elastic\_mostafa](#):
>
> what spets should I follow to restore this snapshot ?

Assuming you have a single node, you can register this directory as a read-only repository with Elasticsearch: [Snapshot module | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_repositories)

Then restore this snapshot: [Snapshot module | Elasticsearch Guide [8.11] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_restore)

If you have multiple nodes then you need to set up a shared filesystem or a read-only URL repository.

> [@elastic\_mostafa](#):
>
> once done , is it possible to remove the snapshot or ES stills need it ?

Once the restore has succeeded, Elasticsearch does not need the repository any more. You can deregister the repository with `DELETE /_snapshot/{repository}`.

---

<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:** [December 24, 2018, 5:11pm UTC](https://discuss.elastic.co/t/how-to-restore-a-snapshot-from-another-location/158208/3 "2018-12-24T17:11:19Z")

</div>

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