Skip to content

Migrates data from one elasticsearch cluster to another

License

Notifications You must be signed in to change notification settings

Rossome/migrate-elasticseach

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

migrate-elasticseach

Migrates data from one elasticsearch cluster to another

usage

migrate-elasticseach <source> <destination> [regex of indexes to copy]

options

-v, --verbose    enable debug messages
-O, --overwrite  erase all documents in an index before copying
-R, --remove  remove indexes not on source
-y, --yes  confirm

examples

Migrate all indexes removing all existing data first

migrate-elasticseach -RO clusterA clusterB

Migrate only the daily indexes before October

migrate-elasticsearch -O clusterA clusterB daily\.2017-(01|02|03|04|05|06|07|08|09|10).*

Migrate any indexes that do not already exist (and have a least 1 document)

migrate-elasticsearch clusterA clusterB

About

Migrates data from one elasticsearch cluster to another

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%