# Isolate data on a single node

**URL:** https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853
**Category:** Elasticsearch
**Created:** [June 3, 2015, 5:31pm UTC](https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853 "2015-06-03T17:31:05Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Vic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vic/32/503_2.png) [@Vic](https://discuss.elastic.co/u/Vic)
#### Post date: [June 3, 2015, 5:31pm UTC](https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853/1 "2015-06-03T17:31:05Z")

</div>

Hi,

I'm trying to copy a production index onto a single node in a separate cluster. This is so that I can experiment with data types and attempt to improve performance of certain queries.

I've tried a few approaches but run into trouble each time.

### 1. Restore from snapshot

With a fresh cluster, populate \_snapshot by pointing it at our S3 snapshot repository, wait for it to populate, then restore an index. Unfortunately this has no effect. The request to restore immediately returns with:  
`{"snapshot":{"snapshot":"20150603","indices":[],"shards":{"total":0,"failed":0,"successful":0}}}`

### 2. Connect to existing cluster, detach, then rebalance

I thought that by connecting to the main cluster, then detaching, I'd be able to separate this node with a copy of all or some of the data I need. All I get however is a bunch of unallocated shards that I can't access. I was hoping ES might rebalance, but no luck.

### 3. Connect to existing cluster, detach, then restore from snapshot

A combination of the above. Again, no luck. I specify `wait_for_completion=true` and the request doesn't return, which suggests a restore is in progress, but again nothing happens. No CPU, disk or network activity, no matter how long I leave it.

Is it possible to isolate a snapshotted index on its own node? Separate to the original cluster it came from? What's the correct way of doing this?

---

<div class="post-metadata">

### Author: ![otisg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/otisg/32/492_2.png) [@otisg](https://discuss.elastic.co/u/otisg)
#### Post date: [June 3, 2015, 5:35pm UTC](https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853/2 "2015-06-03T17:35:21Z")

</div>

Could [https://github.com/allegro/elasticsearch-reindex-tool](https://github.com/allegro/elasticsearch-reindex-tool) be of use here?

## Otis

Monitoring \* Alerting \* Anomaly Detection \* Centralized Log Management  
Solr & Elasticsearch Support \* [http://sematext.com/](http://sematext.com/)

---

<div class="post-metadata">

### Author: ![Vic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vic/32/503_2.png) [@Vic](https://discuss.elastic.co/u/Vic)
#### Post date: [June 4, 2015, 1:43pm UTC](https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853/3 "2015-06-04T13:43:06Z")

</div>

Thanks Otis! That tool's proven to be pretty useful. One of the type's I'm copying over has each document routed which it seems to be tripping on, unfortunately, so this might not work out. It appears there are alternatives I can try though.

---

<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: [July 6, 2017, 12:09am UTC](https://discuss.elastic.co/t/isolate-data-on-a-single-node/1853/4 "2017-07-06T00:09:38Z")

</div>


