# Archive Elasticsearch indices to Azure blob storage

**URL:** <https://discuss.elastic.co/t/archive-elasticsearch-indices-to-azure-blob-storage/250134>\
**Category:** Kibana\
**Created:** [September 28, 2020, 6:48am UTC](https://discuss.elastic.co/t/archive-elasticsearch-indices-to-azure-blob-storage/250134 "2020-09-28T06:48:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dubru](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dubru/32/45511_2.png) [@Dubru](https://discuss.elastic.co/u/Dubru)\
**Post date:** [September 28, 2020, 6:48am UTC](https://discuss.elastic.co/t/archive-elasticsearch-indices-to-azure-blob-storage/250134/1 "2020-09-28T06:48:42Z")

</div>

I am using ElasticSearch and Kibana 7x version,

I've a requirement to archive the ElasticSearch indices which are older than 10 days, How to we configure it from kibana dashboard/how do we automate the process?

---

<div class="post-metadata">

**Author:** ![azasypkin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/azasypkin/32/42216_2.png) [@azasypkin](https://discuss.elastic.co/u/azasypkin)\
**Post date:** [September 28, 2020, 9:31am UTC](https://discuss.elastic.co/t/archive-elasticsearch-indices-to-azure-blob-storage/250134/2 "2020-09-28T09:31:14Z")

</div>

Hi Dubru,

I think what you need is to setup a [snapshot](https://www.elastic.co/guide/en/elasticsearch/reference/7.9/snapshot-restore.html) policy that would automatically [make a snapshot of your old indices](https://www.elastic.co/guide/en/elasticsearch/reference/master/getting-started-snapshot-lifecycle-management.html) to Azure with the help of [Azure Repository plugin](https://www.elastic.co/guide/en/elasticsearch/plugins/current/repository-azure.html). And then if you need to delete these indices you'd need to setup an [ILM policy to wait for snapshot](https://www.elastic.co/guide/en/elasticsearch//reference/master/ilm-wait-for-snapshot.html) before removing them.

I'd encourage you to read through the links I've shared above and experiment to see if does what you need.

Best,  
Oleg

---

<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 26, 2020, 9:31am UTC](https://discuss.elastic.co/t/archive-elasticsearch-indices-to-azure-blob-storage/250134/3 "2020-10-26T09:31:16Z")

</div>

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