How to recover index if replicas are set to zero?

Hi,

If I have an index with 10 shards but no replicas on a 2 node cluster, and
one node goes down. Can I somehow recover the 5 shards to the only running
node? Assuming that I backup the data directory on the node and make it
available to the other node. Is there an API or an automatic way to achieve
this?

Thanks,
Sandeep

--
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/3b1caca8-66ed-4196-838b-b58fafa1601d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Hello Sandeep ,

Instead of backing up the data directory , do a snapshot and you can
restore it later to single node machine or 10 node machine.

SNAPSHOT -

Thanks
Vineeth

On Fri, Aug 22, 2014 at 2:23 PM, 'Sandeep Ramesh Khanzode' via
elasticsearch elasticsearch@googlegroups.com wrote:

Hi,

If I have an index with 10 shards but no replicas on a 2 node cluster, and
one node goes down. Can I somehow recover the 5 shards to the only running
node? Assuming that I backup the data directory on the node and make it
available to the other node. Is there an API or an automatic way to achieve
this?

Thanks,
Sandeep

--
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/3b1caca8-66ed-4196-838b-b58fafa1601d%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/3b1caca8-66ed-4196-838b-b58fafa1601d%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
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/CAGdPd5nOMgNrGrSqWN%2BmSt31io_qnJLJ3hfHGq9xBghZXX3W0w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.