# Snapshot not being taken

**URL:** <https://discuss.elastic.co/t/snapshot-not-being-taken/148499>\
**Category:** Elasticsearch\
**Created:** [September 13, 2018, 6:40pm UTC](https://discuss.elastic.co/t/snapshot-not-being-taken/148499 "2018-09-13T18:40:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aliyesami](https://avatars.discourse-cdn.com/v4/letter/a/ecb155/32.png) [@aliyesami](https://discuss.elastic.co/u/aliyesami)\
**Post date:** [September 13, 2018, 6:40pm UTC](https://discuss.elastic.co/t/snapshot-not-being-taken/148499/1 "2018-09-13T18:40:02Z")

</div>

I am trying to take a snapshot of an index but its not creating any files , although the backup status comes as ok . all 5 cluster nodes have read/write access to the share. The index status is green and has data.

> curl -XPUT 'hadoop1:9200/\_snapshot/pa\_acct\_bck' -H 'Content-Type: application/json' -d '{  
> "type":"fs",  
> "indices":"pa\_acct",  
> "ignore\_unavailable":"true",  
> "include\_global\_state":"false",   
> "settings":{  
> "location":"pa\_acct",  
> "compress":"true"  
> }  
> }'
> 
> {"acknowledged":true}
> 
> [elasticsearch@hadoop1 ~]$ curl -XGET 'hadoop1:9200/\_snapshot/?pretty'  
> {  
> "pa\_acct\_bck" : {  
> "type" : "fs",  
> "settings" : {  
> "compress" : "true",  
> "location" : "pa\_acct"  
> }  
> }  
> }
> 
> [elasticsearch@hadoop1 ~]$ curl -XGET 'hadoop1:9200/\_cat/indices?v'  
> green open pa\_acct KHceC6koSPmg-pLgbzDmrw 5 1 8876326 0 1.5gb 804.1mb
> 
> [elasticsearch@hadoop1 ~]$ ls /es\_backup/pa\_acct

also I have setup the parameter correctly in yml file

> [elasticsearch@hadoop1 config]$ grep repo elasticsearch.yml  
> path.repo: /es\_backup  
> [elasticsearch@hadoop1 config]$  
> [elasticsearch@hadoop1 config]$ df -h | grep es\_backup  
> hadoop1:/u01/elastic/es\_backup  
> 246G 25G 210G 11% /es\_backup  
> [elasticsearch@hadoop1 config]$

---

<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:** [October 11, 2018, 6:40pm UTC](https://discuss.elastic.co/t/snapshot-not-being-taken/148499/2 "2018-10-11T18:40:04Z")

</div>

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