# Store Old Indices in S3 and load when needed in future?

**URL:** <https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503>\
**Category:** Elasticsearch\
**Created:** [June 20, 2023, 4:57pm UTC](https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503 "2023-06-20T16:57:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![datencio](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/datencio/32/101671_2.png) [@datencio](https://discuss.elastic.co/u/datencio)\
**Post date:** [June 20, 2023, 4:57pm UTC](https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503/1 "2023-06-20T16:57:57Z")

</div>

We would like to store lots of old indices in S3 for easy storage and the ability to import the indice from S3 back into Elasticsearch when needed. I have installed the repository-s3 plugin, and I have seen how i can do snapshots, but can i actually just load individual files into S3 to store and then reimport them when needed? What options do i have here?

---

<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:** [June 20, 2023, 5:19pm UTC](https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503/2 "2023-06-20T17:19:10Z")

</div>

That sounds like what the snapshot/restore API is doing, no?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [June 21, 2023, 3:59am UTC](https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503/3 "2023-06-21T03:59:01Z")

</div>

Snapshot and restore does this, as would [Searchable snapshots | Elasticsearch Guide [8.8] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/8.8/searchable-snapshots.html) with the added benefit is you don't need to restore to be able to read it.

---

<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:** [July 19, 2023, 3:59am UTC](https://discuss.elastic.co/t/store-old-indices-in-s3-and-load-when-needed-in-future/336503/4 "2023-07-19T03:59:10Z")

</div>

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