# S3 repository only shows one available snapshot

**URL:** <https://discuss.elastic.co/t/s3-repository-only-shows-one-available-snapshot/84208>\
**Category:** Elasticsearch\
**Created:** [May 2, 2017, 6:47am UTC](https://discuss.elastic.co/t/s3-repository-only-shows-one-available-snapshot/84208 "2017-05-02T06:47:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![living\_jordi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/living_jordi/32/61363_2.png) [@living\_jordi](https://discuss.elastic.co/u/living_jordi)\
**Post date:** [May 2, 2017, 6:47am UTC](https://discuss.elastic.co/t/s3-repository-only-shows-one-available-snapshot/84208/1 "2017-05-02T06:47:05Z")

</div>

I'm making snapshots using s3 repository. Currently, I'm storing snapshots into one bucket.

I've made three snapshots, nevertheless, when I'm trying to get which ones are there, it only print me out one (the first one):

 ![](https://us1.discourse-cdn.com/elastic/original/3X/e/8/e8532799a99561c5c6456e57a71225ccef40d819.png)

As you can see into the image, I've created three snapshots, nevertheless, when I perform a:

```
$ -XGET _snapshot/s3dev/_all?pretty

```

I'm getting this:

```
{
  "snapshots" : [
    {
      "snapshot" : "20170427-121913",
      "uuid" : "20170427-121913",
      "version_id" : 2040099,
      "version" : "2.4.0",
      "indices" : [
        "living_v1",
        "living_v2"
      ],
      "state" : "SUCCESS",
      "start_time" : "2017-04-27T12:19:13.303Z",
      "start_time_in_millis" : 1493295553303,
      "end_time" : "2017-04-27T12:19:17.544Z",
      "end_time_in_millis" : 1493295557544,
      "duration_in_millis" : 4241,
      "failures" : [],
      "shards" : {
        "total" : 10,
        "failed" : 0,
        "successful" : 10
      }
    }
  ]
}

```

I don't quite figure out why I'm getting only want available snapshot...

Any ideas?

---

<div class="post-metadata">

**Author:** ![abeyad](https://avatars.discourse-cdn.com/v4/letter/a/278dde/32.png) [@abeyad](https://discuss.elastic.co/u/abeyad)\
**Post date:** [May 5, 2017, 7:17pm UTC](https://discuss.elastic.co/t/s3-repository-only-shows-one-available-snapshot/84208/2 "2017-05-05T19:17:39Z")

</div>

It looks like you are missing `index-N` blogs in your S3 bucket. Right now, you only have `index-0`, but since you took 3 snapshots, the index version should be at 2 now, i.e. `index-2`. Were these blobs inadvertently deleted?

Also, can you relate to me the contents of `index.latest`? Its in a binary format, so what you will have to do is show me the hex values in that file. An easy way to do this is open `index.latest` in the vi editor, and then type `:%!xxd` followed by enter... it will give you the contents in hex format, which you can then paste here.

---

<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:** [June 2, 2017, 7:18pm UTC](https://discuss.elastic.co/t/s3-repository-only-shows-one-available-snapshot/84208/3 "2017-06-02T19:18:01Z")

</div>

Closed on June 2, 2017, 7:18pm UTC

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