# Snapshots on ES 5.4 generated with id name instead of index name

**URL:** <https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408>\
**Category:** Elasticsearch\
**Created:** [February 5, 2018, 8:47am UTC](https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408 "2018-02-05T08:47:42Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![andrew\_09](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@andrew\_09](https://discuss.elastic.co/u/andrew_09)\
**Post date:** [February 5, 2018, 8:47am UTC](https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408/1 "2018-02-05T08:47:42Z")

</div>

Hi all,

this is my first post here on the community forum.  
So, i have this kind of issue. I've set up a new 5.6 cluster (1 master/2only data).  
When i try to create snapshots, this is what i get:

```
drwxr-xr-x 1 root root 4096 Feb 5 00:20 MQ1xNGEsRSOw2uaLLKVfKA
drwxr-xr-x 1 root root 4096 Feb 5 00:20 fqjWjvuVSZ2vR-p1qSiFIQ
drwxr-xr-x 1 root root 4096 Feb 5 00:20 El8Pch0RTZeLgzDC5UxZWw
drwxr-xr-x 1 root root 4096 Feb 5 00:20 9OgOjIMhQCabnDKJKrPuDg
drwxr-xr-x 1 root root 4096 Feb 5 00:20 43f5maZ-TjKuQvOn7hTR1Q
drwxr-xr-x 1 root root 4096 Feb 5 00:20 rzHX0a6hRFKeZpMH7kvlLw
drwxr-xr-x 1 root root 4096 Feb 5 00:20 JX67f1CMRkCyQeBCwbTPrg
drwxr-xr-x 1 root root 4096 Feb 5 00:20 iMINlLLkQGOyxYUOB2vHPw
drwxr-xr-x 1 root root 4096 Feb 5 00:20 eWtvBNvQTIGY7vcKGruzeQ
drwxr-xr-x 1 root root 4096 Feb 5 00:20 4CU4a9ZCQKGilrY85c0INw

```

On the old cluster (V 2.) i got correct directory naming (each directory with the daily index name), es:

```
drwxr-xr-x 1 root root 4096 Feb 3 15:53 logstash-cronjob-logs-2017-01-20
drwxr-xr-x 1 root root 4096 Feb 3 15:53 logstash-cronjob-logs-2017-01-08
drwxr-xr-x 1 root root 4096 Feb 3 15:53 logstash-cronjob-logs-2017-01-04
drwxr-xr-x 1 root root 4096 Feb 3 15:53 logstash-cronjob-logs-2017-01-13
drwxr-xr-x 1 root root 4096 Feb 3 15:53 logstash-cronjob-logs-2017-01-17 

```

Could be that those indices were created previously on the old cluster ?

Thanks a lot.

---

<div class="post-metadata">

**Author:** ![theuntergeek](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/theuntergeek/32/44961_2.png) [@theuntergeek](https://discuss.elastic.co/u/theuntergeek)\
**Post date:** [February 5, 2018, 9:00am UTC](https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408/2 "2018-02-05T09:00:10Z")

</div>

This is expected behavior. You should not be interacting with snapshots or indices at the filesystem level. You should only interact with snapshots and indices via the appropriate API calls.

The index and snapshot names will be viewable via the API.

---

<div class="post-metadata">

**Author:** ![andrew\_09](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@andrew\_09](https://discuss.elastic.co/u/andrew_09)\
**Post date:** [February 5, 2018, 10:04am UTC](https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408/3 "2018-02-05T10:04:04Z")

</div>

Hi Aaron, thanks for the quick response.  
Just tried and it works, thanks a lot for the suggestion!

---

<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 5, 2018, 10:04am UTC](https://discuss.elastic.co/t/snapshots-on-es-5-4-generated-with-id-name-instead-of-index-name/118408/4 "2018-03-05T10:04:43Z")

</div>

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