# S3 repository snapshot human readable folder name?

**URL:** <https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492>\
**Category:** Elasticsearch\
**Created:** [September 6, 2018, 4:22am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492 "2018-09-06T04:22:03Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nutchalum.k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nutchalum.k/32/33364_2.png) [@nutchalum.k](https://discuss.elastic.co/u/nutchalum.k)\
**Post date:** [September 6, 2018, 4:22am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492/1 "2018-09-06T04:22:03Z")

</div>

Hello,

Is it possible to create a snapshot as a human readable folder?

 ![LINE_P201896_111445](https://us1.discourse-cdn.com/elastic/original/3X/4/2/4299ec14114c05c3f099cda70c5e904693a0ae37.jpeg)

I've snapshot indices that are older than 7 days and store them in s3 as a backup  
And I want to delete them after 30 days via bucket policies using prefix

Is it possible to create a snapshot folder name after indices?

ps.  
I'm using Elastic Cloud and make a snapshot via Elastic Curator

e.g.  
/indices-name-06-09-2018  
/indices-name-05-09-2018

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [September 6, 2018, 5:06am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492/2 "2018-09-06T05:06:40Z")

</div>

You should use the APIs to delete from snapshots, and not directly alter then at the storage level.

---

<div class="post-metadata">

**Author:** ![nutchalum.k](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nutchalum.k/32/33364_2.png) [@nutchalum.k](https://discuss.elastic.co/u/nutchalum.k)\
**Post date:** [September 6, 2018, 5:50am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492/3 "2018-09-06T05:50:04Z")

</div>

I've delete them after snapshot  
So it's not possible to delete them via APIs (because it's gone)

My use case is -  
Indices that older than X days are moved outside elasticsearch (to s3)  
By moving, It's mean snapshot and delete them  
at s3, indices (snapshots) that are older than Y days are deleted permanently

s3 are just like cold storage to us  
in case we want to use old data, we just restore to another cluster  
if not, we just delete it

---

<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:** [September 6, 2018, 10:38am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492/4 "2018-09-06T10:38:15Z")

</div>

> [@nutchalum.k](#):
>
> Is it possible to create a snapshot as a human readable folder?  
> Is it possible to create a snapshot folder name after indices?

Short answer: No. As has already been stated, you should never interact with snapshots or the repository except via the API. Everything has names when you use the API.

---

<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:** [October 4, 2018, 10:38am UTC](https://discuss.elastic.co/t/s3-repository-snapshot-human-readable-folder-name/147492/5 "2018-10-04T10:38:22Z")

</div>

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