# Reindex to another node without replica

**URL:** https://discuss.elastic.co/t/reindex-to-another-node-without-replica/111722
**Category:** Elasticsearch
**Created:** [December 14, 2017, 9:26am UTC](https://discuss.elastic.co/t/reindex-to-another-node-without-replica/111722 "2017-12-14T09:26:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![zeenon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zeenon/32/24883_2.png) [@zeenon](https://discuss.elastic.co/u/zeenon)
#### Post date: [December 14, 2017, 9:26am UTC](https://discuss.elastic.co/t/reindex-to-another-node-without-replica/111722/1 "2017-12-14T09:26:19Z")

</div>

Hi,  
I have to copy an index from another cluster to a sandbox cluster.

with

```
POST _reindex
{
  "source": {
    "remote": {
      "host": "http://up0tx807:9200"
    },
    "index": "idx_pmm-2017.11.30"
  },
  "dest": {
    "index": "idx_pmm-2017.11.30"
  }
}

```

It works fine but my new index is created with 5 shards and 1 replica. Because the destination cluster is very small, I don't want replica.  
How to process ?  
thanks for your tips,

---

<div class="post-metadata">

### Author: ![zeenon](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zeenon/32/24883_2.png) [@zeenon](https://discuss.elastic.co/u/zeenon)
#### Post date: [December 14, 2017, 10:16am UTC](https://discuss.elastic.co/t/reindex-to-another-node-without-replica/111722/2 "2017-12-14T10:16:48Z")

</div>

This command seems OK

```
PUT _settings
{
      "index" : {
        "number_of_replicas" : 0
    }
}
```

---

<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 11, 2018, 10:16am UTC](https://discuss.elastic.co/t/reindex-to-another-node-without-replica/111722/3 "2018-01-11T10:16:58Z")

</div>

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