Selective Index data restore in Elasticsearch

(Shantanu Sen) #1

I have taken the backup of my ES indices and then deleted irrelevant and old data. now, let's say, I have data from 1st September to till now.

Now i want to do a six month trend analysis and i want to restore data to the index from 1st June to 31 st August.

How can i achieve this. Also I want my new data intact in the index.


(Adrien Grand) #2

You can't do it. The snapshot API has an index granularity so you can't do partial restores of an index. All you could do would be to restore an entire index and then reindex the subset you are interested in into another index.

(system) #3