# Refreshing TTL

**URL:** <https://discuss.elastic.co/t/refreshing-ttl/10359>\
**Category:** Elasticsearch\
**Created:** [January 15, 2013, 8:16pm UTC](https://discuss.elastic.co/t/refreshing-ttl/10359 "2013-01-15T20:16:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rzulf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rzulf/32/1587_2.png) [@Rzulf](https://discuss.elastic.co/u/Rzulf)\
**Post date:** [January 15, 2013, 8:16pm UTC](https://discuss.elastic.co/t/refreshing-ttl/10359/1 "2013-01-15T20:16:18Z")

</div>

Is there any way to update records TTL without reindexing them?

--

---

<div class="post-metadata">

**Author:** ![Clinton\_Gormley](https://avatars.discourse-cdn.com/v4/letter/c/50afbb/32.png) [@Clinton\_Gormley](https://discuss.elastic.co/u/Clinton_Gormley)\
**Post date:** [January 16, 2013, 9:41am UTC](https://discuss.elastic.co/t/refreshing-ttl/10359/2 "2013-01-16T09:41:33Z")

</div>

On Tue, 2013-01-15 at 12:16 -0800, Rzulf wrote:

> Is there any way to update records TTL without reindexing them?

You can use the update API (assuming your \_source field is enabled) but  
that essentially just does a reindex of the doc

clint

--

---

<div class="post-metadata">

**Author:** ![Rzulf](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rzulf/32/1587_2.png) [@Rzulf](https://discuss.elastic.co/u/Rzulf)\
**Post date:** [January 18, 2013, 5:09pm UTC](https://discuss.elastic.co/t/refreshing-ttl/10359/3 "2013-01-18T17:09:50Z")

</div>

That's the point. I use ES to backup another ES. I had a concept that I can  
copy all documents from production instance and then only refresh documents  
in backup if they still exist in production.

The problem is that I haven't found any reliable concept for backing up ES  
so using ES to backup ES is the most safe, imho. Therefore i think such  
feature would be nice if I was able to set OpType.RefreshTTL or something  
like this when performing backup.

W dniu środa, 16 stycznia 2013 10:41:33 UTC+1 użytkownik Clinton Gormley  
napisał:

> On Tue, 2013-01-15 at 12:16 -0800, Rzulf wrote:
> 
> > Is there any way to update records TTL without reindexing them?
> 
> You can use the update API (assuming your \_source field is enabled) but  
> that essentially just does a reindex of the doc
> 
> clint

--

---

<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, 2:55am UTC](https://discuss.elastic.co/t/refreshing-ttl/10359/4 "2017-07-06T02:55:44Z")

</div>


