# How to restore security snapshots?

**URL:** <https://discuss.elastic.co/t/how-to-restore-security-snapshots/315636>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-security, snapshot-and-restore\
**Created:** [October 2, 2022, 2:52pm UTC](https://discuss.elastic.co/t/how-to-restore-security-snapshots/315636 "2022-10-02T14:52:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siavash\_Fazli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/siavash_fazli/32/103915_2.png) [@Siavash\_Fazli](https://discuss.elastic.co/u/Siavash_Fazli)\
**Post date:** [October 2, 2022, 2:52pm UTC](https://discuss.elastic.co/t/how-to-restore-security-snapshots/315636/1 "2022-10-02T14:52:52Z")

</div>

Hi Guys.  
I upgraded my ELK stack version 7.16.2 to 8.4.2.  
I need to restore my security settings (users, roles,...)

In the last step of restoring I got this message:

```auto
Unable to restore snapshot

[es.sec_daily_2022.09.30-alo__ygmqiulyt8o8qjqua/hCHPz3VBQdKHAsOBtFPmig] cannot restore index [.security-7] because an open index with same name already exists in the cluster. Either close or delete the existing index or restore the index under a different name by providing a renaming pattern and replacement name

```

I can't delete or close exciting **.security-7** index.  
the main question is how to restore the security index while this message comes back?/

---

<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:** [October 30, 2022, 2:53pm UTC](https://discuss.elastic.co/t/how-to-restore-security-snapshots/315636/2 "2022-10-30T14:53:14Z")

</div>

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