# Snapshot Restore to 9.0.1 Fails Despite Setting \`index.blocks.write=true\` on Source Index in 8.7.1

**URL:** <https://discuss.elastic.co/t/snapshot-restore-to-9-0-1-fails-despite-setting-index-blocks-write-true-on-source-index-in-8-7-1/378853>\
**Category:** Elasticsearch\
**Created:** [June 4, 2025, 10:55am UTC](https://discuss.elastic.co/t/snapshot-restore-to-9-0-1-fails-despite-setting-index-blocks-write-true-on-source-index-in-8-7-1/378853 "2025-06-04T10:55:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [June 4, 2025, 12:27pm UTC](https://discuss.elastic.co/t/snapshot-restore-to-9-0-1-fails-despite-setting-index-blocks-write-true-on-source-index-in-8-7-1/378853/2 "2025-06-04T12:27:57Z")

</div>

Looking at the code, I believe that today you need to use the [put index block API](https://www.elastic.co/docs/reference/elasticsearch/index-settings/index-block#add-index-block) in at least 8.18.0 before taking the snapshot.

At the very least this should be mentioned in the docs, but I can't immediately see a reason why Elasticsearch can't apply the appropriate blocks during the snapshot restore. Would you open a bug report at [https://github.com/elastic/elasticsearch/issues](https://github.com/elastic/elasticsearch/issues)?

---

_[View the full topic](https://discuss.elastic.co/t/snapshot-restore-to-9-0-1-fails-despite-setting-index-blocks-write-true-on-source-index-in-8-7-1/378853)._
