Hi Team,
I need upgrade version to Elasticsearch 2.4.
my current version is 1.3.9.
How to import data fro elasticsearch 1.3.9 to elasticsearch 2.4?
cause inside elasticsearch 2.4 also have data, can't delete, data Elasticsearch 1.3.9 also Node 0.
What commend i can use? Need Plugin?
Thanks
Regards
Sharon
dadoonet
(David Pilato)
March 21, 2017, 6:18am
2
I'd upgrade to latest 1.7, then install the migration plugin and check what is needed. Then upgrade to 2.4 if possible.
But I'd probably go another route:
Start a 5.2 cluster
Use reindex from remote API to read data from 1.3 cluster.
1 Like
I not understand about Use reindex from remote API to read data from 1.3 cluster.
Please kindly explain?
dadoonet
(David Pilato)
March 21, 2017, 6:50am
4
One more Question, If need upgrade to 2.4, i need install migration plugin right?
dadoonet
(David Pilato)
March 21, 2017, 8:07am
6
Hi,
Actually i already backup the nodes data from Elasticsearch 1.3.9 to D:\D\Backup_data
PUT /_snapshot/timo_backup2
{
"type": "fs",
"settings": {
"compress" : true,
"location": "/D/Backup_data/"
}
}
i have try this command at elasticsearch 2.4
POST /_snapshot/timo_backup2/snapshot-number-one/_restore
but have error
{
"error": {
"root_cause": [
{
"type": "repository_missing_exception",
"reason": "[timo_backup2] missing"
}
],
"type": "repository_missing_exception",
"reason": "[timo_backup2] missing"
},
"status": 404
}
Now how to restore my data from D:\D\Backup_data to Elasticsearch 2.4?
Thanks
Best regards
Sharon
dadoonet
(David Pilato)
March 23, 2017, 6:05am
8
You did not upgrade to 1.7 first?
I mean that IIRC you can only use the migration plugin on 1.7.
But that was not your question.
In the repository location I think you are missing the D: part.
system
(system)
Closed
April 20, 2017, 6:05am
9
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.