# All but the first snapshot not showing up in a s3-repository

**URL:** https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777
**Category:** Elasticsearch
**Created:** [March 23, 2017, 4:22pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777 "2017-03-23T16:22:46Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![tanner-bruce](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanner-bruce/32/21903_2.png) [@tanner-bruce](https://discuss.elastic.co/u/tanner-bruce)
#### Post date: [March 23, 2017, 4:22pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777/1 "2017-03-23T16:22:46Z")

</div>

I have two clusters, one running 2.4 and the other 5.2.2. I created an S3-repo on the 2.4 cluster, and took a snapshot to s3. I then added this repo on the 5.2.2 cluster, and restored to it succesfully. Now, we have some more indices that need to be transferred over and some that need to be updated. I deleted the ones to be updated on the new cluster, and took a new snapshot on the 2.4 cluster, with that same repository.

The new (I tried a second time) snapshots show up fine in the 2.4 cluster, however neither of them show up in the 5.2.2 cluster, it still only shows the original one. I've confirmed the files are in the s3 bucket.

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 23, 2017, 5:42pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777/2 "2017-03-23T17:42:53Z")

</div>

You can't use the same repository from a cluster running 2.x AND a 5.x at the same time.

---

<div class="post-metadata">

### Author: ![tanner-bruce](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tanner-bruce/32/21903_2.png) [@tanner-bruce](https://discuss.elastic.co/u/tanner-bruce)
#### Post date: [March 23, 2017, 9:04pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777/3 "2017-03-23T21:04:32Z")

</div>

Oh, the documentation didn't mention that at all, it just says you can restore a snapshot from 2.x onto a 5.x cluster, so that was how I thought of doing it. Is there a different method you would recommend, or would simply removing the repo from the 2.x cluster, then adding it to 5.x work?

---

<div class="post-metadata">

### Author: ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)
#### Post date: [March 23, 2017, 9:35pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777/4 "2017-03-23T21:35:24Z")

</div>

Once you create a repository on 5.x it upgrades all files in it. They are not readable anymore by 2.x.

So basically:

- create a repo on 2.x
- snapshot
- remove the repo
- create a repo on 5.x
- restore

---

<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: [April 20, 2017, 9:35pm UTC](https://discuss.elastic.co/t/all-but-the-first-snapshot-not-showing-up-in-a-s3-repository/79777/5 "2017-04-20T21:35:43Z")

</div>

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