Restore api vs custom copy script


(Chetana) #1

I have a secondary index storage where I have both snapshot (taken from ES
server) and valid lucene index (content is same as snapshot). If ES server
index is cleared/deleted though the mapping is retained, could someone tell
me which is the better option to restore in terms of time taken:

a) restoring from secondary index storage to ES using ES restore api (
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/modules-snapshots.html
)
b) using custom coping technique (scp, ftp like) to copy lucene index from
secondary index storage to ES

Thanks,

--
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/05fc095a-2fa9-43ef-8fe3-5efc031925e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #2