# How to take backup of dashboards in Kibana

**URL:** <https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416>\
**Category:** Kibana\
**Created:** [May 11, 2018, 7:12am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416 "2018-05-11T07:12:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [May 11, 2018, 7:12am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416/1 "2018-05-11T07:12:01Z")

</div>

Hi,  
We want to backup the dashboards. How can we do it?  
When I removed license, and the x-pack, I lost all my dashboards created by metric.  
Please guide.  
br,  
Sunil.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [May 11, 2018, 6:35pm UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416/2 "2018-05-11T18:35:08Z")

</div>

There's a few options.

1. In the UI, management -\> saved objects -\> export everything. This will get searches, visualizations, and dashboards. Index patterns will have to be re-added
2. There's a newer API for exporting dashboards, although it's still undocumented. [Kibana import/export dashboard api](https://discuss.elastic.co/t/kibana-import-export-dashboard-api/108180) offers some pointers on how to use it.
3. At a low level, saving the .kibana index. All kibana state is saved in the .kibana index, so you can snapshot/restore, or use another tool to dump all the documents.

---

<div class="post-metadata">

**Author:** ![sunilmchaudhari](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sunilmchaudhari/32/9475_2.png) [@sunilmchaudhari](https://discuss.elastic.co/u/sunilmchaudhari)\
**Post date:** [May 12, 2018, 12:20am UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416/3 "2018-05-12T00:20:05Z")

</div>

Hi,  
Thanks for this.  
However When I export say "My-Dashboard", it exports in json format with default name "export.json'.  
So if I export say 10 dashboards, it exports with same default name.  
How can I make it export with the dashboard name, so that next time I can select particular dashboard by looking at the name.  
As workaround I have to rename those 10 dashboards after export.

Br,  
Sunil.

---

<div class="post-metadata">

**Author:** ![jbudz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jbudz/32/45922_2.png) [@jbudz](https://discuss.elastic.co/u/jbudz)\
**Post date:** [May 15, 2018, 3:03pm UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416/4 "2018-05-15T15:03:39Z")

</div>

Unfortunately with that option there's no way to do it other than exporting multiple dashboards in one export.json. You can select multiple checkboxes.

The dashboard API is probably the better option if you need to set names, you can pipe the output to your filename of choice.

Does that help?

---

<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:** [June 12, 2018, 3:18pm UTC](https://discuss.elastic.co/t/how-to-take-backup-of-dashboards-in-kibana/131416/5 "2018-06-12T15:18:34Z")

</div>

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