# Snapshot process stuck in one last shard

**URL:** <https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670>\
**Category:** Elasticsearch\
**Created:** [March 7, 2016, 3:31pm UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670 "2016-03-07T15:31:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [March 7, 2016, 3:31pm UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/1 "2016-03-07T15:31:53Z")

</div>

Hi,

I'm trying to take a snapshot into a repository that i previously created.  
I want to snapshot 3 indices, for the second time (I've already done the first snapshot which succeeded), but after some new docs injected i want to take another snapshot into the same repository.

The problem is that the snapshot process got stuck for more than 4 hours with one last shard (see below for detailed snapshot status. Shard 4 of index publication)

I am using Elasticsearch 2.2 and here is the request i used to take the first and second snapshots :  
PUT /\_snapshot/elastic\_backup/snapshot\_1  
{  
"indices": "family,publication,patent",  
"ignore\_unavailable": false,  
"include\_global\_state": false  
}

Here is the response when i ask for the status (GET /\_snapshot/elastic\_backup/\_status) :  
All shards are on "stage":"DONE" but this one below :

"4": {  
"stage": "STARTED",  
"stats": {  
"number\_of\_files": 210,  
"processed\_files": 102,  
"total\_size\_in\_bytes": 62383548380,  
"processed\_size\_in\_bytes": 31735859207,  
"start\_time\_in\_millis": 1457338235435,  
"time\_in\_millis": 0  
},  
"node": "\_fYrGcp5RzODSabF9KT02Q"  
},

Any idea why this is happening ? I have enough disk space left.  
Is there a way to "restart" only the stuck shard or should i delete the entire snapshot and retake it ?

Thank you for your help.

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [May 18, 2016, 7:38am UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/2 "2016-05-18T07:38:10Z")

</div>

Were you able to solve this? I seem to be having same problem.

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [May 18, 2016, 8:03am UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/3 "2016-05-18T08:03:10Z")

</div>

Unfortunately i did not solve this problem. I had to abort the snapshot process and restart it again...  
If you have a file-system level snapshot/restore process, i encourage you to use it instead of the software one embedded with ES.

---

<div class="post-metadata">

**Author:** ![gphadke](https://avatars.discourse-cdn.com/v4/letter/g/ecc23a/32.png) [@gphadke](https://discuss.elastic.co/u/gphadke)\
**Post date:** [May 18, 2016, 12:31pm UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/4 "2016-05-18T12:31:03Z")

</div>

Can you please explain what you mean by file-system level? external to ES?

---

<div class="post-metadata">

**Author:** ![iliasse](https://avatars.discourse-cdn.com/v4/letter/i/22d042/32.png) [@iliasse](https://discuss.elastic.co/u/iliasse)\
**Post date:** [May 18, 2016, 12:46pm UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/5 "2016-05-18T12:46:04Z")

</div>

Yes, Exactly.

---

<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:** [July 5, 2017, 10:50pm UTC](https://discuss.elastic.co/t/snapshot-process-stuck-in-one-last-shard/43670/6 "2017-07-05T22:50:41Z")

</div>


