# How to get backup/snapshop of elasticsearch index data daily based on start and end end time?

**URL:** <https://discuss.elastic.co/t/how-to-get-backup-snapshop-of-elasticsearch-index-data-daily-based-on-start-and-end-end-time/157678>\
**Category:** Elasticsearch\
**Created:** [November 21, 2018, 10:22am UTC](https://discuss.elastic.co/t/how-to-get-backup-snapshop-of-elasticsearch-index-data-daily-based-on-start-and-end-end-time/157678 "2018-11-21T10:22:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![RameshNagargoje](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rameshnagargoje/32/30212_2.png) [@RameshNagargoje](https://discuss.elastic.co/u/RameshNagargoje)\
**Post date:** [November 21, 2018, 10:22am UTC](https://discuss.elastic.co/t/how-to-get-backup-snapshop-of-elasticsearch-index-data-daily-based-on-start-and-end-end-time/157678/1 "2018-11-21T10:22:06Z")

</div>

Hi,  
I want to get backup of elasticsearch index data daily with time is given in query to fecth only those documents and save to local drive.

sample query needed as:  
"query":  
{  
"fetchall documents"  
"range":  
"gte":"now-1d",  
"lte":"now"  
}

---

<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:** [December 19, 2018, 10:22am UTC](https://discuss.elastic.co/t/how-to-get-backup-snapshop-of-elasticsearch-index-data-daily-based-on-start-and-end-end-time/157678/2 "2018-12-19T10:22:13Z")

</div>

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