# Could not able to take the snapshot

**URL:** <https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625>\
**Category:** Elasticsearch\
**Created:** [July 25, 2018, 4:43pm UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625 "2018-07-25T16:43:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![naresh\_career399](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@naresh\_career399](https://discuss.elastic.co/u/naresh_career399)\
**Post date:** [July 25, 2018, 4:43pm UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/1 "2018-07-25T16:43:21Z")

</div>

{"error":{"root\_cause":[{"type":"repository\_verification\_exception","reason":"[logs\_backup] [gJSWaV3wROeSjpuYh23AFw, 'RemoteTransportException[[node-3][server3:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[logs\_backup] a file written by master to the store [/home/vagrant/elasticsearch/backups] cannot be accessed on the node [{node-3}{gJSWaV3wROeSjpuYh23AFw}{server3}{server3:9300}]. This might indicate that the store [/home/vagrant/elasticsearch/backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];'], [flA8q0AWTjKAkTYIn0GaMw, 'RemoteTransportException[[node-2][server2:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[logs\_backup] a file written by master to the store [/home/vagrant/elasticsearch/backups] cannot be accessed on the node [{node-2}{flA8q0AWTjKAkTYIn0GaMw}{server2}{server2:9300}]. This might indicate that the store [/home/vagrant/elasticsearch/backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"}],"type":"repository\_verification\_exception","reason":"[logs\_backup] [gJSWaV3wROeSjpuYh23AFw, 'RemoteTransportException[[node-3][server3:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[logs\_backup] a file written by master to the store [/home/vagrant/elasticsearch/backups] cannot be accessed on the node [{node-3}{gJSWaV3wROeSjpuYh23AFw}{node3}{node3:9300}]. This might indicate that the store [/home/vagrant/elasticsearch/backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];'], [flA8q0AWTjKAkTYIn0GaMw, 'RemoteTransportException[[node-2][server2:9300][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[logs\_backup] a file written by master to the store [/home/vagrant/elasticsearch/backups] cannot be accessed on the node [{node-2}{flA8q0AWTjKAkTYIn0GaMw}{}{server2:9300}]. This might indicate that the store [/home/vagrant/elasticsearch/backups] is not shared between this node and the master node or that permissions on the store don't allow reading files written by the master node];']]"},"status":500}

---

<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:** [July 25, 2018, 4:49pm UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/2 "2018-07-25T16:49:24Z")

</div>

You need to take the snapshot to networked storage that can be read and written to by all nodes via the same path. Elasticsearch tests this by having one node write a file and another then read it, which seems to be failing in your case.

---

<div class="post-metadata">

**Author:** ![naresh\_career399](https://avatars.discourse-cdn.com/v4/letter/n/dec6dc/32.png) [@naresh\_career399](https://discuss.elastic.co/u/naresh_career399)\
**Post date:** [July 25, 2018, 4:54pm UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/3 "2018-07-25T16:54:27Z")

</div>

Any documentation to create snapshot using curator and keep it into S3 bucket.

---

<div class="post-metadata">

**Author:** ![akhileshsingh](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@akhileshsingh](https://discuss.elastic.co/u/akhileshsingh)\
**Post date:** [July 30, 2018, 5:54am UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/5 "2018-07-30T05:54:03Z")

</div>

@naresh_career399,

Yes, you can follow the below link to create snapshot using curator.

[https://www.elastic.co/guide/en/elasticsearch/client/curator/5.4/snapshot.html](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.4/snapshot.html)

And you can also use below snapshot template to create snapshot action file.

```
action: snapshot
description: >-
  Snapshot selected indices to 'repository' with the snapshot name or name
  pattern in 'name'. Use all other options as assigned
options:
  repository: ...
  #Leaving name blank will result in the default 'curator-%Y%m%d%H%M%S'
  name:
  wait_for_completion: True
  max_wait: 3600
  wait_interval: 10
filters:
-filtertype: ...

```

And to keep it into s3 bucket use below link:  
[https://www.elastic.co/guide/en/elasticsearch/plugins/6.3/repository-s3.html](https://www.elastic.co/guide/en/elasticsearch/plugins/6.3/repository-s3.html)

Thanks.

---

<div class="post-metadata">

**Author:** ![zqc0512](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zqc0512/32/32141_2.png) [@zqc0512](https://discuss.elastic.co/u/zqc0512)\
**Post date:** [July 30, 2018, 7:04am UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/6 "2018-07-30T07:04:52Z")

</div>

file need share stroge as nfs ..

---

<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:** [August 27, 2018, 7:04am UTC](https://discuss.elastic.co/t/could-not-able-to-take-the-snapshot/141625/7 "2018-08-27T07:04:53Z")

</div>

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