# Snapshot restore is failing from 6.4.1 to 5.6.5

**URL:** <https://discuss.elastic.co/t/snapshot-restore-is-failing-from-6-4-1-to-5-6-5/157993>\
**Category:** Elasticsearch\
**Created:** [November 23, 2018, 11:10am UTC](https://discuss.elastic.co/t/snapshot-restore-is-failing-from-6-4-1-to-5-6-5/157993 "2018-11-23T11:10:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rajesh\_Samala](https://avatars.discourse-cdn.com/v4/letter/r/46a35a/32.png) [@Rajesh\_Samala](https://discuss.elastic.co/u/Rajesh_Samala)\
**Post date:** [November 23, 2018, 11:10am UTC](https://discuss.elastic.co/t/snapshot-restore-is-failing-from-6-4-1-to-5-6-5/157993/1 "2018-11-23T11:10:35Z")

</div>

I have taken snapshot for 6.4.1 elasticsearch cluster and downgraded elasticsearch to 5.6.5. After downgrade trying to restore the data from snapshot but got the below error.

[root@bolt45-ioc0 ~]# curl -XPOST "localhost:9200/\_snapshot/version\_6\_backup/version\_6.4.1\_2018-11-23\_01-44-51/\_restore?wait\_for\_completion=true&pretty" -H 'Content-Type: application/json' -d'  
{  
"ignore\_unavailable": true,  
"partial": true  
}  
'  
{  
"error" : {  
"root\_cause" : [  
{  
"type" : "snapshot\_restore\_exception",  
"reason" : "[version\_6\_backup:version\_6.4.1\_2018-11-23\_01-44-51/rn\_G0VheTamUJUdNEp\_Y\_Q] the snapshot was created with Elasticsearch version [6.4.1] which is higher than the version of this node [5.6.5]"  
}  
],  
"type" : "snapshot\_restore\_exception",  
"reason" : "[version\_6\_backup:version\_6.4.1\_2018-11-23\_01-44-51/rn\_G0VheTamUJUdNEp\_Y\_Q] the snapshot was created with Elasticsearch version [6.4.1] which is higher than the version of this node [5.6.5]"  
},  
"status" : 500  
}

Snapshot details:

[root@bolt45-ioc0 ~]# curl -X GET "localhost:9200/\_snapshot/version\_6\_backup/\_all?pretty"  
{  
"snapshots" : [  
{  
"snapshot" : "version\_6.4.1\_2018-11-23\_01-44-51",  
"uuid" : "rn\_G0VheTamUJUdNEp\_Y\_Q",  
"version\_id" : 6040199,  
"version" : "6.4.1",  
"indices" : [  
"policybindings",  
"policies",  
"taskstatus",  
"multiarray",  
"userpreferences"  
],  
"state" : "SUCCESS",  
"start\_time" : "2018-11-23T09:44:52.993Z",  
"start\_time\_in\_millis" : 1542966292993,  
"end\_time" : "2018-11-23T09:44:56.642Z",  
"end\_time\_in\_millis" : 1542966296642,  
"duration\_in\_millis" : 3649,  
"failures" : ,  
"shards" : {  
"total" : 25,  
"failed" : 0,  
"successful" : 25  
}  
}  
]  
}

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [November 23, 2018, 11:21am UTC](https://discuss.elastic.co/t/snapshot-restore-is-failing-from-6-4-1-to-5-6-5/157993/2 "2018-11-23T11:21:44Z")

</div>

Snapshots can not be read by older versions of Elasticsearch. You snapshot can therefore only be restored to version 6.4.1 and above.

---

<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:** [December 21, 2018, 11:21am UTC](https://discuss.elastic.co/t/snapshot-restore-is-failing-from-6-4-1-to-5-6-5/157993/3 "2018-12-21T11:21:48Z")

</div>

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