Page 1 of 1

snapshots could not be deleted in webUI

Posted: Thu Dec 03, 2020 2:58 am
by cdcsysadmin
Dear support,

There are several snapshots that I wanted to delete so as to housekeep the mount point.
However when I tried to delete it from the webUI, it failed.
Would the status 'IN_PROGRESS' be the cause?
Please advise how to delete these snapshots in the correct manner.

Yours faithfully

Re: snapshots could not be deleted in webUI

Posted: Thu Dec 03, 2020 5:13 pm
by cdienger
Run the following to get a list of snapshots and their status:

Code: Select all

curl -XGET 'http://localhost:9200/_snapshot/REPONAME/_all?pretty'
*Make sure you replace REPONAME with the actual repository name.

Once you've identified the hanging snapshot, you can remove it with:

Code: Select all

curl -XDELETE 'http://localhost:9200/_snapshot/REpONAME/curator-20201117094956'
*Replace REPONAME and curator-20201117094956 with the proper repository name and snapshot name.