Import Elasticsearch index by copying the folder to a second elasticsearch instance?

I tried to copy a closed index to a backup elasticsearch instance.
I just used SCP and copied the Index folder to the same folder of the
backup server.

When I try to reopen the index on the backup server using '-XPOST
/logstash-2014.10.11/_open', I get the IndexNotFoundException. When I use
-XPUT to create the index the index will be generated but Elasticsearch
won't use the existing Data in the folder, so the doc.count is 0.

health index pri rep docs.count docs.deleted store.size pri.store.size
yellow logstash-provisioningmanager-2014.10.29 5 1 0 0 575b 575b

Since I have no space left on my primary elasticsearch server, I just want
to move the indices, without using a repository. Is this even possible?

Sincerly,

Grauen

--
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/aee602aa-72f5-44f1-b84a-eb9da0e7e277%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Perhaps you can use snapshot and restore feature of Elasticsearch. You can
mount a NFS or samba share from remote server to take snapshot and then
restore it there locally using same snapshot and restore module. Refer
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html

Sachin Divekar

On Mon, Dec 15, 2014, 8:20 PM Grauen allmightygoot@googlemail.com wrote:

I tried to copy a closed index to a backup elasticsearch instance.
I just used SCP and copied the Index folder to the same folder of the
backup server.

When I try to reopen the index on the backup server using '-XPOST
/logstash-2014.10.11/_open', I get the IndexNotFoundException. When I use
-XPUT to create the index the index will be generated but Elasticsearch
won't use the existing Data in the folder, so the doc.count is 0.

health index pri rep docs.count docs.deleted store.size pri.store.size
yellow logstash-provisioningmanager-2014.10.29 5 1 0 0 575b 575b

Since I have no space left on my primary elasticsearch server, I just want
to move the indices, without using a repository. Is this even possible?

Sincerly,

Grauen

--
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/aee602aa-72f5-44f1-b84a-eb9da0e7e277%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/aee602aa-72f5-44f1-b84a-eb9da0e7e277%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/CA%2BA8H7k6NkYytLx3UXWL7G_dem-c8RNEc%2BOdX0mzLNvjq6vCKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.