ES backup using EBS

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
:frowning:

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/52a4da1e-7131-4026-b644-4a73b7fe97a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.