Delete all the snapshots in a repository

2014-12-26 Thread bplsilva
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

Re: Delete all the snapshots in a repository

2014-12-26 Thread vineeth mohan
, 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

Re: Delete all the snapshots in a repository

2014-12-26 Thread bplsilva
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