Delete all the snapshots in a repository

Hello,

I know the delete all kind of operations are the ones to avoid, but in
this case, I'm really needing it. I'd like to delete all the snapshots in a
repository before creating a new snapshot.
Is there any easy method to do that?

I have tried: curl -XDELETE
"localhost:9200/_snapshot/backupES/_all?pretty"
but that does not work.

Does anyone has an idea?

Thanks,
Bruno

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/bf1efade-7262-40fc-b12d-441ad95686fd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hi ,

Can you remove the snapshot name and try again -

curl -XDELETE "localhost:9200/_snapshot/_all?pretty"

Thanks
Vineeth

On Fri, Dec 26, 2014 at 7:53 PM, bplsilva@chaordicsystems.com wrote:

Hello,

I know the delete all kind of operations are the ones to avoid, but in
this case, I'm really needing it. I'd like to delete all the snapshots in a
repository before creating a new snapshot.
Is there any easy method to do that?

I have tried: curl -XDELETE
"localhost:9200/_snapshot/backupES/_all?pretty"
but that does not work.

Does anyone has an idea?

Thanks,
Bruno

--
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/bf1efade-7262-40fc-b12d-441ad95686fd%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/bf1efade-7262-40fc-b12d-441ad95686fd%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAGdPd5%3DRWE1TC0jjDpMRyjUVh1L-%2B9O_eFV8v5e%3D%3DhX82H4UVA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Hi,

that would try to delete all the snapshots repositories registered in the
cluster.

What I would like is to, given a repository, delete all the snapshots of
such repository.

Thanks,
Bruno

Le vendredi 26 décembre 2014 12:37:46 UTC-2, vineeth mohan a écrit :

Hi ,

Can you remove the snapshot name and try again -

curl -XDELETE "localhost:9200/_snapshot/_all?pretty"

Thanks
Vineeth

On Fri, Dec 26, 2014 at 7:53 PM, <bpls...@chaordicsystems.com
<javascript:>> wrote:

Hello,

I know the delete all kind of operations are the ones to avoid, but in
this case, I'm really needing it. I'd like to delete all the snapshots in a
repository before creating a new snapshot.
Is there any easy method to do that?

I have tried: curl -XDELETE
"localhost:9200/_snapshot/backupES/_all?pretty"
but that does not work.

Does anyone has an idea?

Thanks,
Bruno

--
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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/bf1efade-7262-40fc-b12d-441ad95686fd%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/bf1efade-7262-40fc-b12d-441ad95686fd%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ed57158d-2173-4db0-abb3-9ada15e532e0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.