# How to retrieve kibana indexes from backup

**URL:** <https://discuss.elastic.co/t/how-to-retrieve-kibana-indexes-from-backup/179137>\
**Category:** Kibana\
**Created:** [April 30, 2019, 7:01pm UTC](https://discuss.elastic.co/t/how-to-retrieve-kibana-indexes-from-backup/179137 "2019-04-30T19:01:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ashnav\_msit](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ashnav_msit/32/45046_2.png) [@ashnav\_msit](https://discuss.elastic.co/u/ashnav_msit)\
**Post date:** [April 30, 2019, 7:01pm UTC](https://discuss.elastic.co/t/how-to-retrieve-kibana-indexes-from-backup/179137/1 "2019-04-30T19:01:35Z")

</div>

I deleted Kibana idexes by following this thread. [First time ELK installation and Kibana dashboard is red](https://discuss.elastic.co/t/first-time-elk-installation-and-kibana-dashboard-is-red/76810) isdue

How can I retrieve Kibana Dashboards, visualization from backup from last night.

Where kibana stores .kibana indexes created from dashboard and visualization on Linux Server?  
Ashnav

---

<div class="post-metadata">

**Author:** ![cjcenizal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/cjcenizal/32/11216_2.png) [@cjcenizal](https://discuss.elastic.co/u/cjcenizal)\
**Post date:** [April 30, 2019, 9:55pm UTC](https://discuss.elastic.co/t/how-to-retrieve-kibana-indexes-from-backup/179137/2 "2019-04-30T21:55:51Z")

</div>

Hi Ashnav, which version of Kibana are you using? According to [the upgrade docs](https://www.elastic.co/guide/en/kibana/6.5/upgrade-migrations.html), prior to 6.5 Kibana stored dashboards and visualizations inside of the `.kibana` index. After 6.5, Kibana stores this data inside of a `.kibana_N` index, where `N` is an integer and uses the `.kibana` index alias to refer to this index.

If you're on a version of Kibana prior to 6.5, then if you've created a [snapshot](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-snapshots.html) of your `.kibana` index then you should be able to use the [restore API](https://www.elastic.co/guide/en/elasticsearch/reference/6.7/modules-snapshots.html#_restore) to restore it and regain access to your visualizations and dashboards.

If you're on version 6.5 or later of Kibana, you'll need to restore both the `.kibana` index alias and the `.kibana_N` index which it points to. Take a look at the [index alias API](https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-aliases.html#alias-retrieving) to learn how to query that index alias and see which index it points to.

Thanks,  
CJ

---

<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:** [May 28, 2019, 9:55pm UTC](https://discuss.elastic.co/t/how-to-retrieve-kibana-indexes-from-backup/179137/3 "2019-05-28T21:55:55Z")

</div>

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