# Elastic search Restore in different cluster

**URL:** <https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481>\
**Category:** Elasticsearch\
**Created:** [March 4, 2016, 7:12am UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481 "2016-03-04T07:12:02Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajay554](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Ajay554](https://discuss.elastic.co/u/Ajay554)\
**Post date:** [March 4, 2016, 7:12am UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481/1 "2016-03-04T07:12:02Z")

</div>

I took the Elastic search backup in aws instance by using the below commands.

#repository creation  
curl -XPUT '[http://localhost:9200/\_snapshot/RL\_Backup](http://localhost:9200/_snapshot/RL_Backup)' -d '{  
"type": "fs",  
"settings": {  
"compress" : true,  
"location": "/home/ajay.k/ESbackup"  
}  
}''

#snapshot creation  
curl -XPUT '[http://localhost:9200/\_snapshot/RL\_Backup/snapshot\_1?wait\_for\_completion=false](http://localhost:9200/_snapshot/RL_Backup/snapshot_1?wait_for_completion=false)'

Now I would like to restore this backup in IBM instance from s3 bucket.. while restoring in IBM , it says snapshot missing. I created the snapshot like old one but indices are not coming. Could you help me?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [March 9, 2016, 8:47pm UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481/2 "2016-03-09T20:47:43Z")

</div>

S3 bucket? But this snapshot is in a file based repository.

---

<div class="post-metadata">

**Author:** ![Ajay554](https://avatars.discourse-cdn.com/v4/letter/a/65b543/32.png) [@Ajay554](https://discuss.elastic.co/u/Ajay554)\
**Post date:** [May 5, 2016, 12:33pm UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481/3 "2016-05-05T12:33:02Z")

</div>

Yes am doing as file based repository.This is an 3 node cluster, Just am dong as Backup and Restore to New Cluster . But Cluster name is different . These are the steps am following here ..

My Data Path , /root/TLESbackup/indices

To Create Repository am using this Curl Command  
curl -XPUT '[http://localhost:9200/\_snapshot/TL\_Backup](http://localhost:9200/_snapshot/TL_Backup)' -d '{

> ```
> "type": "fs",
> "settings": {
> "compress" : true,
> "location": "/root/TLESbackup"
> }
> 
> ```
> 
> }'

Am getting this error

{"error":"RemoteTransportException[[PrimaryMaster][inet[/10.124.147.218:9300]][cluster:admin/repository/put]]; nested: RepositoryVerificationException[[TL\_Backup] [uO\_vOTUeQC28gk4gHglvTw, 'RemoteTransportException[[SecondaryMaster][inet[/10.124.147.226:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[TL\_Backup] store location [/root/TLESbackup] is not shared between node [[SecondaryMaster][uO\_vOTUeQC28gk4gHglvTw][[POC-ES-EM-WDC01.SPOCTO.com](http://POC-ES-EM-WDC01.SPOCTO.com)][inet[/10.124.147.226:9300]]{master=true}] and the master node]; '], [JXSrkAApSHK4eTapKkFPKg, 'RemoteTransportException[[Slave01][inet[/10.124.147.228:9300]][internal:admin/repository/verify]]; nested: RepositoryVerificationException[[TL\_Backup] store location [/root/TLESbackup] is not shared between node [[Slave01][JXSrkAApSHK4eTapKkFPKg][[POC-ES-Slave-WDC01.SPOCTO.com](http://POC-ES-Slave-WDC01.SPOCTO.com)][inet[/10.124.147.228:9300]]{master=false}] and the master node]; ']]]; ","status":500}

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [May 9, 2016, 6:07am UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481/4 "2016-05-09T06:07:39Z")

</div>

With a file based repository like this, the (same) /root/TLESbackup directory must be accessible to all nodes. This is typically achieved by sharing the directory via NFS.

---

<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 5, 2017, 10:53pm UTC](https://discuss.elastic.co/t/elastic-search-restore-in-different-cluster/43481/5 "2017-07-05T22:53:06Z")

</div>


