# Get repository folder name for an index

**URL:** <https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737>\
**Category:** Elasticsearch\
**Tags:** snapshot-and-restore\
**Created:** [October 25, 2023, 1:55pm UTC](https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737 "2023-10-25T13:55:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![karan\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karan_c/32/126865_2.png) [@karan\_c](https://discuss.elastic.co/u/karan_c)\
**Post date:** [October 25, 2023, 1:55pm UTC](https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737/1 "2023-10-25T13:55:04Z")

</div>

Hi All,  
I'm creating day wise snapshots which contains multiple indices for different services (also day wise). I'm planning to move older snapshots from S3 Intelligent-Tiering to S3 Glacier Deep Archive storage class. For transitioning objects from one storage class to another I'll set up a S3 lifecycle rule. This part seems sorted, but the problem is with retrieving the data.

The "/indices" folder in S3 bucket has multiple folders with random uuid as their name. If I want to retrieve an index from the Glacier, I wouldn't know which folder/objects to retrieve.

Is there any way to know the uuid/folder-name of the deleted indices which are part of the older snapshots?

---

<div class="post-metadata">

**Author:** ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)\
**Post date:** [October 26, 2023, 4:22am UTC](https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737/2 "2023-10-26T04:22:27Z")

</div>

Hi @karan_c Welcome to the community.

Unfortunately, there is no there is user-consumable / user-accessible mapping between the UUIDs and indices.

Perhaps take a look at this post for a possible solution

> [@Is it possible to move a one time snapshot to Glacier?](https://discuss.elastic.co/t/is-it-possible-to-move-a-one-time-snapshot-to-glacier/327455):
>
> Hi, In the docs, it states that after snapshotting an index to S3 you shouldn't transition it to Glacier. I have a use case where I would like to snapshot an index as a one off event and store it as cheaply as possible, but still recover in the off chance we'd ever need it again. In an ideal world I would make a snapshot for a given base\_path (folder in bucket) and then transition that base\_path to glacier. Any other snapshotting in the meantime will happen on a different base\_path. Then if we…

---

<div class="post-metadata">

**Author:** ![karan\_c](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/karan_c/32/126865_2.png) [@karan\_c](https://discuss.elastic.co/u/karan_c)\
**Post date:** [October 26, 2023, 6:15am UTC](https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737/3 "2023-10-26T06:15:18Z")

</div>

Got it, 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:** [November 23, 2023, 6:15am UTC](https://discuss.elastic.co/t/get-repository-folder-name-for-an-index/345737/4 "2023-11-23T06:15:57Z")

</div>

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