Deleting all snapshots without "destroying" repository?

Hi,

I have a repository with a bunch of snapshots in it, all for testing. I wanted to delete them all using
curl -X DELETE localhost:9200/_snapshot/backup/_all?pretty

But afterwards, if I want to get info on the repository, it says "repository_missing_exception".
I need to register the repository again in order to be able to take snapshots again.

Is there a clean way to delete all snapshots, but keeping the repository?

edit: Strange, if I try it all again, it says that the snapshotname is not known...
But then the core problem remains. How do I delete all snapshots at once?

Thx.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.