# Elasticdump copy \_template between hosts

**URL:** <https://discuss.elastic.co/t/elasticdump-copy--template-between-hosts/101128>\
**Category:** Elasticsearch\
**Created:** [September 20, 2017, 8:02am UTC](https://discuss.elastic.co/t/elasticdump-copy--template-between-hosts/101128 "2017-09-20T08:02:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LazPix](https://avatars.discourse-cdn.com/v4/letter/l/65b543/32.png) [@LazPix](https://discuss.elastic.co/u/LazPix)\
**Post date:** [September 20, 2017, 8:02am UTC](https://discuss.elastic.co/t/elasticdump-copy--template-between-hosts/101128/1 "2017-09-20T08:02:16Z")

</div>

I'm trying to copy the content of \_template from one host to another using elasticdump with the following command, but it fails:

elasticdump --input=http://host1:9200/\_template --output=http://host2:9200/\_template

Any idea how to get it right?

Thanks.

---

<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:** [October 18, 2017, 8:03am UTC](https://discuss.elastic.co/t/elasticdump-copy--template-between-hosts/101128/2 "2017-10-18T08:03:09Z")

</div>

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