# Snapshot 'repository\_missing\_exception'

**URL:** <https://discuss.elastic.co/t/snapshot-repository-missing-exception/95151>\
**Category:** Elasticsearch\
**Created:** [July 31, 2017, 9:02am UTC](https://discuss.elastic.co/t/snapshot-repository-missing-exception/95151 "2017-07-31T09:02:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frasdav](https://avatars.discourse-cdn.com/v4/letter/f/a87d85/32.png) [@frasdav](https://discuss.elastic.co/u/frasdav)\
**Post date:** [July 31, 2017, 9:02am UTC](https://discuss.elastic.co/t/snapshot-repository-missing-exception/95151/1 "2017-07-31T09:02:51Z")

</div>

We've got two Elasticsearch 2.4 clusters configured identically. Both have a snapshot repository called 'backups' defined. If I do:

`curl -XGET https://$(hostname --fqdn):9200/_snapshot?pretty`

..on any node in either cluster, I get:

```
{
  "backups" : {
    "type" : "fs",
    "settings" : {
      "compress" : "true",
      "location" : "backups"
    }
  }
}

```

On cluster two, I can successfully list the snapshots in the 'backups' repository with:

`curl -XGET https://$(hostname --fqdn):9200/_snapshot/backups/_all?pretty`

..but in cluster one, I get the following error message:

```
{
  "error" : {
    "root_cause" : [ {
      "type" : "repository_missing_exception",
      "reason" : "[backups] missing"
    } ],
    "type" : "repository_missing_exception",
    "reason" : "[backups] missing"
  },
  "status" : 404
}

```

So in cluster one I can see the repository with the first command, but when I try to call anything on that repository (including creating and restoring snapshots), I get the error.

There's nothing in the logs, so I'm posting to see if anyone has seen this elsewhere first, before I start to look at deleting and recreating the repository (which I assume will trash the snapshots, hence not something I'd rather avoid if possible).

---

<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 28, 2017, 9:02am UTC](https://discuss.elastic.co/t/snapshot-repository-missing-exception/95151/2 "2017-08-28T09:02:56Z")

</div>

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