Hello everyone,
I am using elastic search 1.4.2 and trying to work out a way on back up and 
restore operation of an index.

Objective: 
An index is already present on a system with some mapping. During system 
upgrade, mapping needs to be updated, which is not possible easily in 
elastic search without reindexing.

So here's one path that I have chosen.
- Take backup of existing index on file system
- Delete existing index
- Create an index with same name but with new mapping 
- Restore the (backed up) index. - Issue: When restoring index here, it 
also overwrites mapping to previous state, the way it was defined on 
original index. Is there a way to restore only the data and not 
settings/mapping. Or is there a way to restore index explicitly with new 
mappings?

Other option that I see is to create restore into a new index and then 
perform bulk indexing on original index name. But that seems too much to me 
just to perform data backup and restore. 

Index is expected to have about 80 millions of records

Is there a way to ease this process?

Appreciate your inputs & suggestions


Regards,
Sagar Shah

-- 
Please update your bookmarks! We have moved to https://discuss.elastic.co/
--- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/77d67425-4ed8-403a-b9ff-9410fc02e1f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to