# Keeping Indices for over a year

**URL:** <https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438>\
**Category:** Elasticsearch\
**Created:** [April 2, 2018, 2:36pm UTC](https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438 "2018-04-02T14:36:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![kmroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmroz/32/62741_2.png) [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Post date:** [April 2, 2018, 2:36pm UTC](https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438/1 "2018-04-02T14:36:32Z")

</div>

We are looking for a solution to keep indices that are roughly 7gb per day in size for about a year. Keeping it locally on disk isn't going to work for us . My one idea is the back it up to s3 then have a separate cluster in AWS reading from the s3 bucket where we can than look at that data specifically and possibly enable cross cluster searching. Is this something that seems reasonable or is there something else that can handle this better?  
Thanks,

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [April 6, 2018, 11:07am UTC](https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438/2 "2018-04-06T11:07:42Z")

</div>

It seems reasonable. You can use the [snapshot/restore](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html) functionality along with the [`repository-s3`](https://www.elastic.co/guide/en/elasticsearch/plugins/6.2/repository-s3.html) plugin to put the indices into a repository on S3, and then restore them as needed (either into the original cluster or into a new one, with which you could use cross-cluster search).

---

<div class="post-metadata">

**Author:** ![kmroz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kmroz/32/62741_2.png) [@kmroz](https://discuss.elastic.co/u/kmroz)\
**Post date:** [April 6, 2018, 2:39pm UTC](https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438/3 "2018-04-06T14:39:40Z")

</div>

Thank you @DavidTurner . this is the way we will be going forward then.

---

<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:** [May 4, 2018, 2:39pm UTC](https://discuss.elastic.co/t/keeping-indices-for-over-a-year/126438/4 "2018-05-04T14:39:43Z")

</div>

Closed on May 4, 2018, 2:39pm UTC

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