# Fast copy indexes between two deployments

**URL:** <https://discuss.elastic.co/t/fast-copy-indexes-between-two-deployments/291051>\
**Category:** Elasticsearch\
**Tags:** docker\
**Created:** [December 6, 2021, 2:07pm UTC](https://discuss.elastic.co/t/fast-copy-indexes-between-two-deployments/291051 "2021-12-06T14:07:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [December 6, 2021, 2:07pm UTC](https://discuss.elastic.co/t/fast-copy-indexes-between-two-deployments/291051/1 "2021-12-06T14:07:36Z")

</div>

Hi  
I've tried to copy in the fast way indexes (of count 25 per ~40GB each of them)  
I see that copy it over elasticdump it goes too very slow.

How can I increase performance???  
another thing is how to use a wildcard for copy all matches indexes from source?

```auto
docker run --rm -ti elasticdump/elasticsearch-dump \
  --input="http://elastic_dump:@3763074cc2664ff9b169755c06560deb.server.ip.es.io:9200/logstash-*"\
  --output="http://elastic_dump:2lfager@9dbeb0f3d9bf408cb849f049afe3269f.server.ip.es.io:9200/*" \
  --type=data

```

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 6, 2021, 9:58pm UTC](https://discuss.elastic.co/t/fast-copy-indexes-between-two-deployments/291051/2 "2021-12-06T21:58:22Z")

</div>

Why not use snapshot and restore?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 3, 2022, 9:58pm UTC](https://discuss.elastic.co/t/fast-copy-indexes-between-two-deployments/291051/3 "2022-01-03T21:58:41Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
