# ES backup using EBS

**URL:** <https://discuss.elastic.co/t/es-backup-using-ebs/17367>\
**Category:** Elasticsearch\
**Created:** [May 6, 2014, 12:02pm UTC](https://discuss.elastic.co/t/es-backup-using-ebs/17367 "2014-05-06T12:02:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ankur\_Goel](https://avatars.discourse-cdn.com/v4/letter/a/c2a13f/32.png) [@Ankur\_Goel](https://discuss.elastic.co/u/Ankur_Goel)\
**Post date:** [May 6, 2014, 12:02pm UTC](https://discuss.elastic.co/t/es-backup-using-ebs/17367/1 "2014-05-06T12:02:13Z")

</div>

Hi All,

We have been using an elastic search cluster with 3 nodes , running on aws  
machines , we have been using EBS for work and data directory of  
elasticsearch . I was experimenting with backup using EBS snapshots , here  
is what I did

1.) created a snapshot of one ebs volume (say, alpha)  
2.) deleted the index  
3.) shutdown the cluster  
4.) unmounted the ebs volume on alpha (say /mnt/data )  
5.) created a new volume from snapshot and mounted on alpha in the same  
location (/mnt/data)  
6.) restarted elastic search on one node only  
cluster went to red state , all shards in unassigned  
state  
7.) restarted another node with blank data (/mnt/data ) directory  
cluster red state , all shards STILL in UNASSIGNED STATE  
8.) manually allocated shards to node  
recovered no documents , few kbs of data got restored  
☹

can anyone please help me debug this , what am I doing wrong , is there a  
better way to do this ??

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/52a4da1e-7131-4026-b644-4a73b7fe97a4%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/52a4da1e-7131-4026-b644-4a73b7fe97a4%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:31am UTC](https://discuss.elastic.co/t/es-backup-using-ebs/17367/2 "2017-07-06T01:31:24Z")

</div>


