# How to take backup and restore of specific date indices

**URL:** <https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032>\
**Category:** Elasticsearch\
**Created:** [July 29, 2017, 5:40am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032 "2017-07-29T05:40:12Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![purvang](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@purvang](https://discuss.elastic.co/u/purvang)\
**Post date:** [July 29, 2017, 5:40am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/1 "2017-07-29T05:40:12Z")

</div>

Hi Team,

I have gone through the concept of snapshot for backup and restore.

command for backup : PUT/\_snapshot / ........./.........?wait\_for\_completion=true

command for restore : POST /\_snapshot/........../........../\_restore

Can you please suggest how to take date wise backup and restore?

Thanks  
Purvang Joshi

Can you please

---

<div class="post-metadata">

**Author:** ![Yaswanth](https://avatars.discourse-cdn.com/v4/letter/y/94ad74/32.png) [@Yaswanth](https://discuss.elastic.co/u/Yaswanth)\
**Post date:** [July 29, 2017, 5:46am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/2 "2017-07-29T05:46:05Z")

</div>

Hi ,

With the help of [Curator](https://www.elastic.co/guide/en/elasticsearch/client/curator/5.1/index.html) you can able to do that.

Thanks

---

<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:** [July 29, 2017, 5:51am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/3 "2017-07-29T05:51:19Z")

</div>

That's what you said.

What is the problem you have so far?

---

<div class="post-metadata">

**Author:** ![purvang](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@purvang](https://discuss.elastic.co/u/purvang)\
**Post date:** [July 29, 2017, 7:13am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/4 "2017-07-29T07:13:08Z")

</div>

Hi dadoonet,

 ![2017-07-29 12_17_22-Console - Kibana_1](https://us1.discourse-cdn.com/elastic/original/3X/8/c/8cbe7d06de3f74aa1796c127b52a8075cf0e1297.png)  
In attached snap you can see the command in console which I use to take backup and restore

You can also see list of indices with with date in attached snap.

When I take backup using command its taking all the indices as a backup,but I just want to take a backup of specific date indices i.e : backup of **logstash-2017.07.28.**

Can you please guide which command will be helpful to solve the query?

Regards  
Purvang

---

<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:** [July 29, 2017, 7:31am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/5 "2017-07-29T07:31:32Z")

</div>

There is an example in the doc: [https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-snapshots.html#\_snapshot](https://www.elastic.co/guide/en/elasticsearch/reference/5.5/modules-snapshots.html#_snapshot)

---

<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:** [August 26, 2017, 7:32am UTC](https://discuss.elastic.co/t/how-to-take-backup-and-restore-of-specific-date-indices/95032/6 "2017-08-26T07:32:36Z")

</div>

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