# How to take periodic snapshots

**URL:** <https://discuss.elastic.co/t/how-to-take-periodic-snapshots/17641>\
**Category:** Elasticsearch\
**Created:** [May 21, 2014, 10:03am UTC](https://discuss.elastic.co/t/how-to-take-periodic-snapshots/17641 "2014-05-21T10:03:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chetana](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@Chetana](https://discuss.elastic.co/u/Chetana)\
**Post date:** [May 21, 2014, 10:03am UTC](https://discuss.elastic.co/t/how-to-take-periodic-snapshots/17641/1 "2014-05-21T10:03:26Z")

</div>

I am using ES 1.1.1 and hdfs as repository type (Hadoop Hortonworks 2.2.2).  
I need to take snapshot for every half hour.

At present, I delete the old snapshot to take the new one to avoid  
'snapshot already exists' exception. Is there a way to update a snapshot ?.  
If available, please provide the java api snippet to do that

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/3cdea42b-2b00-4d4d-aa40-cce9255a8564%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/3cdea42b-2b00-4d4d-aa40-cce9255a8564%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![vangap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vangap/32/44927_2.png) [@vangap](https://discuss.elastic.co/u/vangap)\
**Post date:** [November 6, 2014, 11:57am UTC](https://discuss.elastic.co/t/how-to-take-periodic-snapshots/17641/2 "2014-11-06T11:57:13Z")

</div>

Hi,  
Is there any update on this ? how should the workflow be ? deleting and  
creating may be a bad idea? you may end up with nothing if it fails after  
the deletion?

On Wednesday, May 21, 2014 3:33:26 PM UTC+5:30, Chetana wrote:

> I am using ES 1.1.1 and hdfs as repository type (Hadoop Hortonworks  
> 2.2.2). I need to take snapshot for every half hour.
> 
> At present, I delete the old snapshot to take the new one to avoid  
> 'snapshot already exists' exception. Is there a way to update a snapshot ?.  
> If available, please provide the java api snippet to do that
> 
> Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/959e6975-f688-4473-a7f9-a5b84be7f9c1%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/959e6975-f688-4473-a7f9-a5b84be7f9c1%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:51am UTC](https://discuss.elastic.co/t/how-to-take-periodic-snapshots/17641/3 "2017-07-06T00:51:51Z")

</div>


