Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ebuildy authored Mar 3, 2020
1 parent 758139d commit 8e69196
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# elastic-copy
Copy data from / to elasticsearch very fast

## Motivation / use case

``elasticdump`` is a very nice tool for copying a single index to another server.

But sometimes, you need to copy more than a single index, and as fast as possible!

This why I build ``elasticcopy``.

## Multi threading

``elasticcopy`` is fast, because it use multi threads to copy data in parallel.

The parallel unit is a ``shard``, if you want to copy 12 indices of 3 shards, this will create 36 tasks.

## Usage

```
elasticcopy --source=http://localhost:9200 --target=http://prod:9200 --indices=events-1,events-2 --threads=12
```

0 comments on commit 8e69196

Please sign in to comment.