# Unable to restore Snapshot

**URL:** <https://discuss.elastic.co/t/unable-to-restore-snapshot/217949>\
**Category:** Elasticsearch\
**Created:** [February 5, 2020, 9:57am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949 "2020-02-05T09:57:04Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gayathri.Srivathsan](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gayathri.Srivathsan](https://discuss.elastic.co/u/Gayathri.Srivathsan)\
**Post date:** [February 5, 2020, 9:57am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/1 "2020-02-05T09:57:04Z")

</div>

Hi All,

I have created a shared repository and created a snapshot in it. When I try to restore it after deleting the existing index , Iam unable to do so . I get the below error.  
index and alias names need to be unique, but the following duplicates were found [.kibana (alias of [.kibana\_1/iWtK08jFTCC0GHLObDmHnQ])]

I get this error even though I delete .kibana index.  
Let me know what I am missing here.

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [February 5, 2020, 10:26am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/2 "2020-02-05T10:26:30Z")

</div>

Hi @Gayathri.Srivathsan

Can you check whether the index exists again? Maybe you have Kibana running currently and it recreated the index between you deleting it and trying to restore the snapshot?

---

<div class="post-metadata">

**Author:** ![Gayathri.Srivathsan](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gayathri.Srivathsan](https://discuss.elastic.co/u/Gayathri.Srivathsan)\
**Post date:** [February 5, 2020, 11:15am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/3 "2020-02-05T11:15:58Z")

</div>

Hi @Armin_Braun  
I have deleted the index. When I try to restore it gets created. If I stop kibana now , I cant restore right? Kibana automatically creates .kibana immediately once I delete it. How to fix this?

---

<div class="post-metadata">

**Author:** ![Armin\_Braun](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/armin_braun/32/20092_2.png) [@Armin\_Braun](https://discuss.elastic.co/u/Armin_Braun)\
**Post date:** [February 5, 2020, 11:28am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/4 "2020-02-05T11:28:00Z")

</div>

@Gayathri.Srivathsan

you can't use Kibana to manage your restore if it includes the `.kibana` index I'm afraid. You'll have to restore manually via e.g. `curl` as documented [here] ([https://www.elastic.co/guide/en/elasticsearch/reference/7.5/snapshots-restore-snapshot.html](https://www.elastic.co/guide/en/elasticsearch/reference/7.5/snapshots-restore-snapshot.html)) after shutting down Kiabana.

---

<div class="post-metadata">

**Author:** ![Gayathri.Srivathsan](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gayathri.Srivathsan](https://discuss.elastic.co/u/Gayathri.Srivathsan)\
**Post date:** [February 5, 2020, 11:43am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/5 "2020-02-05T11:43:12Z")

</div>

@Armin_Braun  
Thanks . It worked 🙂

---

<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:** [March 4, 2020, 11:43am UTC](https://discuss.elastic.co/t/unable-to-restore-snapshot/217949/6 "2020-03-04T11:43:19Z")

</div>

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