# Enable soft deletes while restoring snapshots

**URL:** https://discuss.elastic.co/t/enable-soft-deletes-while-restoring-snapshots/308986
**Category:** Elasticsearch
**Tags:** snapshot-and-restore
**Created:** [July 6, 2022, 7:24am UTC](https://discuss.elastic.co/t/enable-soft-deletes-while-restoring-snapshots/308986 "2022-07-06T07:24:06Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![DavidZ](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@DavidZ](https://discuss.elastic.co/u/DavidZ)
#### Post date: [July 6, 2022, 7:24am UTC](https://discuss.elastic.co/t/enable-soft-deletes-while-restoring-snapshots/308986/1 "2022-07-06T07:24:06Z")

</div>

Hi,  
I have snapshots containing indices whose soft deletes is set to false as default. However, I need to enable it for cross-cluster replication.  
Is it possible to override index setting by enabling soft deletes while restoring snapshots?

---

<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: [August 3, 2022, 7:24am UTC](https://discuss.elastic.co/t/enable-soft-deletes-while-restoring-snapshots/308986/2 "2022-08-03T07:24:21Z")

</div>

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