# Delete index after backup

**URL:** <https://discuss.elastic.co/t/delete-index-after-backup/22097>\
**Category:** Elasticsearch\
**Created:** [February 11, 2015, 3:07pm UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097 "2015-02-11T15:07:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Yarden\_Bar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yarden_bar/32/736_2.png) [@Yarden\_Bar](https://discuss.elastic.co/u/Yarden_Bar)\
**Post date:** [February 11, 2015, 3:07pm UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097/1 "2015-02-11T15:07:37Z")

</div>

HI all,

Is there any procedure to _archive_ index to HDFS (or other repo) and  
delete it?

I've looked into the 'Snapshot/Restore' docs and understood that if I  
execute "snapshot -\> delete index -\> snapshot" the index deletion will get  
reflected in the snapshot process.

Thanks,  
Yarden

--  
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/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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:** [February 11, 2015, 3:11pm UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097/2 "2015-02-11T15:11:06Z")

</div>

Removing an index does not remove a snapshot.

--  
David Pilato | Technical Advocate | [Elasticsearch.com](http://Elasticsearch.com)  
@dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)

> Le 11 févr. 2015 à 16:07, Yarden Bar [ayash.jorden@gmail.com](mailto:ayash.jorden@gmail.com) a écrit :
> 
> HI all,
> 
> Is there any procedure to archive index to HDFS (or other repo) and delete it?
> 
> I've looked into the 'Snapshot/Restore' docs and understood that if I execute "snapshot -\> delete index -\> snapshot" the index deletion will get reflected in the snapshot process.
> 
> Thanks,  
> Yarden
> 
> --  
> 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) [mailto:elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
> To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com) [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm_medium=email&utm_source=footer).  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout) [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/8F990642-B4CE-430D-80FE-72A218F944ED%40pilato.fr](https://groups.google.com/d/msgid/elasticsearch/8F990642-B4CE-430D-80FE-72A218F944ED%40pilato.fr).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Yarden\_Bar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yarden_bar/32/736_2.png) [@Yarden\_Bar](https://discuss.elastic.co/u/Yarden_Bar)\
**Post date:** [February 11, 2015, 3:17pm UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097/3 "2015-02-11T15:17:04Z")

</div>

but will the index deletion get reflected in the next snapshot invocation?

On Wednesday, February 11, 2015 at 5:11:23 PM UTC+2, David Pilato wrote:

> Removing an index does not remove a snapshot.
> 
> --  
> _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> [http://Elasticsearch.com](http://Elasticsearch.com)_  
> @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> 
> Le 11 févr. 2015 à 16:07, Yarden Bar \<[ayash....@gmail.com](mailto:ayash....@gmail.com) \<javascript:\>\>  
> a écrit :
> 
> HI all,
> 
> Is there any procedure to _archive_ index to HDFS (or other repo) and  
> delete it?
> 
> I've looked into the 'Snapshot/Restore' docs and understood that if I  
> execute "snapshot -\> delete index -\> snapshot" the index deletion will get  
> reflected in the snapshot process.
> 
> Thanks,  
> Yarden
> 
> --  
> 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> To view this discussion on the web visit  
> [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com)  
> [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/58a39a47-6dc2-4f4e-9515-9895dc38fbcf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/58a39a47-6dc2-4f4e-9515-9895dc38fbcf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Yarden\_Bar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yarden_bar/32/736_2.png) [@Yarden\_Bar](https://discuss.elastic.co/u/Yarden_Bar)\
**Post date:** [February 12, 2015, 1:58pm UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097/4 "2015-02-12T13:58:15Z")

</div>

Found the last section here  
[http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/retiring-data.html](http://www.elasticsearch.org/guide/en/elasticsearch/guide/current/retiring-data.html)  
'archiving old indices' to answer my question.

On Wednesday, February 11, 2015 at 5:17:04 PM UTC+2, Yarden Bar wrote:

> but will the index deletion get reflected in the next snapshot invocation?
> 
> On Wednesday, February 11, 2015 at 5:11:23 PM UTC+2, David Pilato wrote:
> 
> > Removing an index does not remove a snapshot.
> > 
> > --  
> > _David Pilato_ | _Technical Advocate_ | _[Elasticsearch.com](http://Elasticsearch.com)  
> > [http://Elasticsearch.com](http://Elasticsearch.com)_  
> > @dadoonet [https://twitter.com/dadoonet](https://twitter.com/dadoonet) | @elasticsearchfr  
> > [https://twitter.com/elasticsearchfr](https://twitter.com/elasticsearchfr) | @scrutmydocs  
> > [https://twitter.com/scrutmydocs](https://twitter.com/scrutmydocs)
> > 
> > Le 11 févr. 2015 à 16:07, Yarden Bar [ayash....@gmail.com](mailto:ayash....@gmail.com) a écrit :
> > 
> > HI all,
> > 
> > Is there any procedure to _archive_ index to HDFS (or other repo) and  
> > delete it?
> > 
> > I've looked into the 'Snapshot/Restore' docs and understood that if I  
> > execute "snapshot -\> delete index -\> snapshot" the index deletion will get  
> > reflected in the snapshot process.
> > 
> > Thanks,  
> > Yarden
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com).  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com)  
> > [https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/2fca7f58-4fc3-475d-92dd-3d06b486b81d%40googlegroups.com?utm_medium=email&utm_source=footer)  
> > .  
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/f9fb9951-a147-42a5-9048-8611d4f2b60e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f9fb9951-a147-42a5-9048-8611d4f2b60e%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:33am UTC](https://discuss.elastic.co/t/delete-index-after-backup/22097/5 "2017-07-06T00:33:08Z")

</div>


