Skip to content

Simple script to migrate your Elasticsearch data from one host to another

Notifications You must be signed in to change notification settings

amadevstudio/elasticsearch_data_migrator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

elasticsearch_data_migrator

Simple script to migrate your Elasticsearch data from one host to another

I recommend using elasticdump to migrate the schema and other index settings.

But it is too slow to transfer data and overwrites documents. If you just need to move it to a clean index, then you can speed up if you check whether the document has already been written and by increasing the number of parallel async tasks.

Additionally, the script saves the scroll ID, allowing you to continue the migration after any interruptions.

Run:

npm install
node main.js

About

Simple script to migrate your Elasticsearch data from one host to another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published