Skip to content
This repository has been archived by the owner on Apr 13, 2019. It is now read-only.

Migrates data from one elasticsearch cluster to another

License

Notifications You must be signed in to change notification settings

lancehudson/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