# Elasticsearch Backup and restore

**URL:** <https://discuss.elastic.co/t/elasticsearch-backup-and-restore/170753>\
**Category:** Elasticsearch\
**Created:** [March 4, 2019, 3:50pm UTC](https://discuss.elastic.co/t/elasticsearch-backup-and-restore/170753 "2019-03-04T15:50:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![charan.gandra](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@charan.gandra](https://discuss.elastic.co/u/charan.gandra)\
**Post date:** [March 4, 2019, 3:50pm UTC](https://discuss.elastic.co/t/elasticsearch-backup-and-restore/170753/1 "2019-03-04T15:50:13Z")

</div>

Hi,

I would like to backup my elasticsearch indexes and delete the indexes older than 30 days. My indexes are timestamped so a separate index will get created for each day. How do I backup these to AWS S3 bucket or Azure Blob? Do I need to backup Indexes or the entire cluster?

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:** [March 4, 2019, 5:13pm UTC](https://discuss.elastic.co/t/elasticsearch-backup-and-restore/170753/2 "2019-03-04T17:13:37Z")

</div>

The answers you seek are in the [snapshot and restore documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html). You will need to install [these plugins](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html#_repository_plugins) to use S3 or Azure. You can backup single indices or the whole cluster.

---

<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:** [April 1, 2019, 5:13pm UTC](https://discuss.elastic.co/t/elasticsearch-backup-and-restore/170753/3 "2019-04-01T17:13:43Z")

</div>

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