# Elasticsearch snapshot supported on a non-shared filesystem?

**URL:** <https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317>\
**Category:** Elasticsearch\
**Created:** [December 2, 2020, 7:39am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317 "2020-12-02T07:39:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![shivani\_aggarwal](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@shivani\_aggarwal](https://discuss.elastic.co/u/shivani_aggarwal)\
**Post date:** [December 2, 2020, 7:39am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/1 "2020-12-02T07:39:58Z")

</div>

Acc to elastic 6.8 docs - [https://www.elastic.co/guide/en/elasticsearch/reference/6.8/modules-snapshots.html](https://www.elastic.co/guide/en/elasticsearch/reference/6.8/modules-snapshots.html), it is mentioned that - "we can take a snapshot of individual indices or of the entire cluster and store it in a repository on a shared filesystem.  
From this doc, I understand that in order to create snapshots, we mandatorily need a shared file-system only.

However, browsing throught the recent versions of the docs, ([https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshot-restore.html)), there is no mention of this hard requirement.  
So, has the behaviour changed? Are elasticsearch snapshots supported on non shared-filesystems as well for ES 7.x ?

---

<div class="post-metadata">

**Author:** ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)\
**Post date:** [December 2, 2020, 7:43am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/2 "2020-12-02T07:43:52Z")

</div>

Hi,

The documentation layout has changed. The information you are looking for is stored here:

> **[Register a snapshot repository | Elasticsearch Reference \[7.10\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/snapshots-register-repository.html#snapshots-filesystem-repository)**

Best regards  
Wolfram

---

<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:** [December 2, 2020, 7:44am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/3 "2020-12-02T07:44:12Z")

</div>

No, [a shared file system is still required](https://www.elastic.co/guide/en/elasticsearch/reference/7.10/snapshots-register-repository.html#snapshots-filesystem-repository).

---

<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:** [December 2, 2020, 10:02am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/4 "2020-12-02T10:02:42Z")

</div>

A simple alternative is a standalone [Minio](https://www.elastic.co/guide/en/elasticsearch/plugins/7.9/repository-s3-client.html#repository-s3-compatible-services) installation too, along with the `repository-s3` plugin.

---

<div class="post-metadata">

**Author:** ![sandeepkanabar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sandeepkanabar/32/79399_2.png) [@sandeepkanabar](https://discuss.elastic.co/u/sandeepkanabar)\
**Post date:** [December 2, 2020, 10:44am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/5 "2020-12-02T10:44:10Z")

</div>

> [@shivani\_aggarwal](#):
>
> From this doc, I understand that in order to create snapshots, we mandatorily need a shared file-system only.

Not necessary. If you have a single-node cluster (for your testing purposes), you can create snapshots in local file-system as well. I tested this on 6.8.6 and I have used this before on 5.x as well for my testing purposes. Haven't tried with 7.x but I guess the same behaviour holds true.

The aim of `shared filesystem` is so that multiple nodes can access the same shared 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 30, 2020, 10:44am UTC](https://discuss.elastic.co/t/elasticsearch-snapshot-supported-on-a-non-shared-filesystem/257317/6 "2020-12-30T10:44:11Z")

</div>

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