snapshots could not be deleted in webUI

This support forum board is for support questions relating to Nagios Log Server, our solution for managing and monitoring critical log data.
Locked
cdcsysadmin
Posts: 55
Joined: Tue Dec 04, 2018 9:52 pm

snapshots could not be deleted in webUI

Post 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
User avatar
cdienger
Support Tech
Posts: 5045
Joined: Tue Feb 07, 2017 11:26 am

Re: snapshots could not be deleted in webUI

Post 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.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Locked