# Snapshot is broken for es 6.4.1

**URL:** <https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637>\
**Category:** Elastic Cloud Enterprise (ECE)\
**Created:** [February 23, 2019, 12:40am UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637 "2019-02-23T00:40:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [February 23, 2019, 12:40am UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/1 "2019-02-23T00:40:03Z")

</div>

Hi,  
I'm testing ece 2.1 snapshot feature and find that snapshot is ok with elasticsearch 6.5.4 but broken with 6.4.1.  
I found following message in cluster logs.

```
[2019-02-23T00:33:46,123][DEBUG][com.amazonaws.request] Sending Request: GET https://ece-backup.s3-eu-west-1.amazonaws.com / Parameters: ({"prefix":["snapshots/346be4fb68d14cf6ac6402eaffcf409b/index-"],"encoding-type":["url"]}Headers: (User-Agent: aws-sdk-java/1.11.223 Linux/3.10.0-862.3.2.el7.x86_64 Java_HotSpot(TM)_64-Bit_Server_VM/25.144-b01 java/1.8.0_144, amz-sdk-invocation-id: 671b1c5b-adb7-f1eb-4a3a-ad42243cb555, Content-Type: application/octet-stream, )  

```

It seems like that es cluster don't get the correct snapshot config from ece repository.

Why snapshot is broken for 6.4.1 but ok for 6.5.4? These two version should be both 6.x.

Any tips? thanks!

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [February 23, 2019, 1:26am UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/2 "2019-02-23T01:26:14Z")

</div>

There were some issues with snapshots over the last few versions of ES. The summary is something like:

- `5.x` - all works fine, (eg) putting all fields in the repo or all the fields in the YAML
- `6.0-6.4.1` - some `client` fields have to be set in the YAML, others in the repo config (this is documented in the 1.1 docs)
- `6.4.2-6.4.3` - `client` fields not supported (cripples some repo configs, so is not considered usable)
- `>6.4.3` - all works fine, putting all fields in the repo config or all fields in the YAML, or splitting client fields in the YAML and other fields in the repo config
  - (UPDATE:) In order to put all fields in the repo config, it is necessary to run ECE `2.1+`
  - (the latter is the ES recommendation though has the downside of eg requiring plan re-configurations when changing the settings for existing clusters)

If you post which combination of fields you split between the repo and the YAML (and generally what your configuration is, since there are quite a lot of ways people use snapshots) we can probably help more

Alex

---

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [February 23, 2019, 1:50am UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/3 "2019-02-23T01:50:11Z")

</div>

Thanks !

So there is no relation with ece version.

If I use \>6.4.3 version on ece 2.0, will snapshot still work well?

---

<div class="post-metadata">

**Author:** ![Alex\_Piggott](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/alex_piggott/32/11053_2.png) [@Alex\_Piggott](https://discuss.elastic.co/u/Alex_Piggott)\
**Post date:** [February 23, 2019, 1:52pm UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/4 "2019-02-23T13:52:38Z")

</div>

Oh sorry - there is one dependency on ECE version. In order to put all fields in the repo metadata from `>6.4.3`, it is necessary to run ECE `2.1+`

---

<div class="post-metadata">

**Author:** ![rockybean](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rockybean/32/11443_2.png) [@rockybean](https://discuss.elastic.co/u/rockybean)\
**Post date:** [February 23, 2019, 3:13pm UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/5 "2019-02-23T15:13:14Z")

</div>

thanks!

---

<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:** [March 9, 2019, 3:28pm UTC](https://discuss.elastic.co/t/snapshot-is-broken-for-es-6-4-1/169637/6 "2019-03-09T15:28:01Z")

</div>

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