Migrates data from one elasticsearch cluster to another
migrate-elasticseach <source> <destination> [regex of indexes to copy]
-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
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