# Snapshot not getting deleted

**URL:** <https://discuss.elastic.co/t/snapshot-not-getting-deleted/164906>\
**Category:** Elasticsearch\
**Created:** [January 19, 2019, 4:05pm UTC](https://discuss.elastic.co/t/snapshot-not-getting-deleted/164906 "2019-01-19T16:05:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ram1](https://avatars.discourse-cdn.com/v4/letter/r/67e7ee/32.png) [@Ram1](https://discuss.elastic.co/u/Ram1)\
**Post date:** [January 19, 2019, 4:05pm UTC](https://discuss.elastic.co/t/snapshot-not-getting-deleted/164906/1 "2019-01-19T16:05:41Z")

</div>

Hi,

We had initiated a snapshot through curator and deleted it when the snapshot was in progress. But the snapshot is not getting deleted.

If I check the status of the snapshot it shows as aborted.

GET /\_snapshot///\_status  
{  
"snapshots": [  
{  
"snapshot": "",  
"repository": "\<repository\_name\>",  
"uuid": "KVJ5-eO1SfqGT2aivlC9Yg",  
"state": "ABORTED",

If I check the snapshots that are currently running,if still shows the status as "IN\_PROGRESS'

GET /\_snapshot//\_current

"include\_global\_state": true,  
"state": "IN\_PROGRESS",  
"start\_time": "2019-01-19T07:56:57.954Z",  
"start\_time\_in\_millis": 1547884617954,  
"end\_time": "1970-01-01T00:00:00.000Z",  
"end\_time\_in\_millis": 0,  
"duration\_in\_millis": -1547884617954,  
"failures": ,  
"shards": {  
"total": 0,  
"failed": 0,

If I try to initiate new backup,it dispalys snapshot still in progress.

Please suggest how the snapshot can be deleted.

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [January 24, 2019, 9:40am UTC](https://discuss.elastic.co/t/snapshot-not-getting-deleted/164906/2 "2019-01-24T09:40:50Z")

</div>

Hi Ram,

Please go through the below links and try with it. It may be helpful for you.

> [@Snapshot operation stuck IN\_PROGRESS, delete command doesn't work](https://discuss.elastic.co/t/snapshot-operation-stuck-in-progress-delete-command-doesnt-work/36951/3):
>
> Hi -- I've seen this a couple of times, and have resolved it by running GET /\_snapshot/backup/\_status to get the details of the snapshot that is stuck in progress state and searching the output for "stage": "INIT". In each case, I found a shard in initializing (INIT) stage for one of the indices in the stuck snapshot. You'll see something like: "your\_index" "3": { "stage": "INIT", "stats": { "number\_of\_files": 0, "processed\_files": 0, "total\_size\_in\_bytes": 0, "processed\_size\_in\_bytes…

> [@Snapshot in progress for long time. How do I delete it?](https://discuss.elastic.co/t/snapshot-in-progress-for-long-time-how-do-i-delete-it/17199/6):
>
> hi Dipesh, we are facing the same issue. How did you overcome it (if at all) ?

Regards,  
Harsh Bajaj

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [February 21, 2019, 9:40am UTC](https://discuss.elastic.co/t/snapshot-not-getting-deleted/164906/3 "2019-02-21T09:40:54Z")

</div>

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