# Elasticsearch: Archiving: Archiving entire index

**URL:** <https://discuss.elastic.co/t/elasticsearch-archiving-archiving-entire-index/57074>\
**Category:** Elasticsearch\
**Created:** [August 3, 2016, 6:40am UTC](https://discuss.elastic.co/t/elasticsearch-archiving-archiving-entire-index/57074 "2016-08-03T06:40:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![krushnat\_khawale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/krushnat_khawale/32/6652_2.png) [@krushnat\_khawale](https://discuss.elastic.co/u/krushnat_khawale)\
**Post date:** [August 3, 2016, 6:40am UTC](https://discuss.elastic.co/t/elasticsearch-archiving-archiving-entire-index/57074/1 "2016-08-03T06:40:22Z")

</div>

Hello {Elastic World},  
I am using Elasticsearch, kibana with beats(packet and top). I am able to successfully store the data into elasticsearch, and display it in kibana. As the time passing, number of indices in my disk are increasing, obviously. 😉  
Now I am looking for Archiving data and I came across [Snapshot API](https://www.elastic.co/guide/en/elasticsearch/reference/2.1/modules-snapshots.html), and went through it. Snapshot API says, **Create Repositories, and the repository settings are repository-type specific,**

My question is, as topbeat index or any other index can contain number of types, how to create a repository for entire index? or Do I need to create a separate repository for each type?

---

<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:** [August 3, 2016, 6:51am UTC](https://discuss.elastic.co/t/elasticsearch-archiving-archiving-entire-index/57074/2 "2016-08-03T06:51:40Z")

</div>

Not ES `_type`, but the type of repo. ie network storage, NFS, etc.

---

<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 5, 2017, 10:30pm UTC](https://discuss.elastic.co/t/elasticsearch-archiving-archiving-entire-index/57074/3 "2017-07-05T22:30:31Z")

</div>


