This repository has been archived by the owner on Sep 29, 2018. It is now read-only.
Releases: hoffoo/elasticsearch-dump
Releases · hoffoo/elasticsearch-dump
0.1.2
Application Options:
-s, --source= source elasticsearch instance
-d, --dest= destination elasticsearch instance
-c, --count= number of documents at a time: ie "size" in the scroll request (100)
-t, --time= scroll time (1m)
-f, --force delete destination index before copying (false)
--shards= set a number of shards on newly created indexes
--docs-only load documents only, do not try to recreate indexes (false)
--index-only only create indexes, do not load documents (false)
--replicate enable replication while indexing into the new indexes (false)
-i, --indexes= list of indexes to copy, comma separated (_all)
-a, --all copy indexes starting with . and _ (false)
-w, --workers= concurrency (1)
--settings copy sharding settings from source (true)
--green wait for both hosts cluster status to be green before dump. otherwise yellow is okay (false)
0.1.1
Application Options:
-s, --source= Source elasticsearch instance
-d, --dest= Destination elasticsearch instance
-c, --count= Number of documents at a time: ie "size" in the scroll
request (100)
-t, --time= Scroll time (1m)
--settings Copy sharding and replication settings from source (true)
-f, --force Delete destination index before copying (false)
-i, --indexes= List of indexes to copy, comma separated (_all)
-a, --all Copy indexes starting with . (false)
-w, --workers= Concurrency (1)
0.1.0
Usage:
elasticsearch-dump-linux-amd64 [OPTIONS]
Application Options:
-s, --source= Source elasticsearch instance
-d, --dest= Destination elasticsearch instance
-c, --count= Number of documents at a time: ie "size" in the scroll request (100)
-t, --time= Scroll time (1m)
--settings Copy sharding and replication settings from source (true)
-f, --force Delete destination index before copying (false)
-i, --indexes= List of indexes to copy, comma separated (_all)
Help Options:
-h, --help Show this help message