# How to backup/restore searches and dashboards

**URL:** <https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223>\
**Category:** Kibana\
**Created:** [December 15, 2016, 11:18pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223 "2016-12-15T23:18:53Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![markd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markd/32/13290_2.png) [@markd](https://discuss.elastic.co/u/markd)\
**Post date:** [December 15, 2016, 11:18pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/1 "2016-12-15T23:18:53Z")

</div>

Hi,

a cup of coffee and a doughnut if you explain how to "backup/restore" searches and dashboard selectively or all at once.

Thanks!  
MarkD:-)

---

<div class="post-metadata">

**Author:** ![thomasneirynck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/thomasneirynck/32/23313_2.png) [@thomasneirynck](https://discuss.elastic.co/u/thomasneirynck)\
**Post date:** [December 15, 2016, 11:30pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/2 "2016-12-15T23:30:58Z")

</div>

hi @markd,

you can use the "Save" button to a dashboard (Dashboard-app) or a saved search (Discover-app) .

![](https://us1.discourse-cdn.com/elastic/original/2X/1/1004ae2f7418b1b9f0f49179cf3178aa6ff716d7.png)

To restore, use the import-button on the "Management\> Saved Objects" page.

![](https://us1.discourse-cdn.com/elastic/original/2X/3/3c48e0a1f5dfeee220c6b2e51b34d00143830fb5.png)

---

<div class="post-metadata">

**Author:** ![markd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markd/32/13290_2.png) [@markd](https://discuss.elastic.co/u/markd)\
**Post date:** [December 16, 2016, 12:40am UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/3 "2016-12-16T00:40:08Z")

</div>

Thomas.  
I deleted a search..... So I would like to know how to dump search/dashboard out of ES index into a file and how restore it from a file - so I can protect myself against the yours truly 🙂

MarkD

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [December 16, 2016, 4:48am UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/4 "2016-12-16T04:48:54Z")

</div>

Perhaps take snapshot of the .kibana index? [https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-snapshots.html). You can use Curator to schedule the snapshot.

---

<div class="post-metadata">

**Author:** ![markd](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markd/32/13290_2.png) [@markd](https://discuss.elastic.co/u/markd)\
**Post date:** [December 16, 2016, 12:39pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/5 "2016-12-16T12:39:06Z")

</div>

this did the trick for me:

/usr/share/metricbeat/scripts]:\> ./import\_dashboards

the search i deleted returned!!!! Still, thanks for the link to "snapshots", I have to read it and put in place, currently I have nothing in place to backup Kibana/ES

Have a good weekend everybody  
🙂

---

<div class="post-metadata">

**Author:** ![anhlqn](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anhlqn/32/5454_2.png) [@anhlqn](https://discuss.elastic.co/u/anhlqn)\
**Post date:** [December 16, 2016, 5:15pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/6 "2016-12-16T17:15:05Z")

</div>

> [@markd](#):
>
> /usr/share/metricbeat/scripts]:\> ./import\_dashboards

This imports the default dashboards for beats, it won't restore new visualizations and dashboards that you create.

---

<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:** [January 13, 2017, 5:15pm UTC](https://discuss.elastic.co/t/how-to-backup-restore-searches-and-dashboards/69223/7 "2017-01-13T17:15:25Z")

</div>

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