Skip to content

Commit 8e69196

Browse files
authored
Create README.md
1 parent 758139d commit 8e69196

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# elastic-copy
2+
Copy data from / to elasticsearch very fast
3+
4+
## Motivation / use case
5+
6+
``elasticdump`` is a very nice tool for copying a single index to another server.
7+
8+
But sometimes, you need to copy more than a single index, and as fast as possible!
9+
10+
This why I build ``elasticcopy``.
11+
12+
## Multi threading
13+
14+
``elasticcopy`` is fast, because it use multi threads to copy data in parallel.
15+
16+
The parallel unit is a ``shard``, if you want to copy 12 indices of 3 shards, this will create 36 tasks.
17+
18+
## Usage
19+
20+
```
21+
elasticcopy --source=http://localhost:9200 --target=http://prod:9200 --indices=events-1,events-2 --threads=12
22+
```
23+

0 commit comments

Comments
 (0)