# API to backup and restore settings from Infrastructure and Metric Explorer apps

**URL:** <https://discuss.elastic.co/t/api-to-backup-and-restore-settings-from-infrastructure-and-metric-explorer-apps/228024>\
**Category:** Kibana\
**Created:** [April 15, 2020, 3:48am UTC](https://discuss.elastic.co/t/api-to-backup-and-restore-settings-from-infrastructure-and-metric-explorer-apps/228024 "2020-04-15T03:48:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johncollaros](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/johncollaros/32/7613_2.png) [@johncollaros](https://discuss.elastic.co/u/johncollaros)\
**Post date:** [April 15, 2020, 3:48am UTC](https://discuss.elastic.co/t/api-to-backup-and-restore-settings-from-infrastructure-and-metric-explorer-apps/228024/1 "2020-04-15T03:48:39Z")

</div>

Hi,

I have noticed there are settings for the Infrastructure app, particularly in the metric explorer where you can save and load views.

How can we backup and restore these settings, and export them and import via API?

John

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [April 15, 2020, 2:34pm UTC](https://discuss.elastic.co/t/api-to-backup-and-restore-settings-from-infrastructure-and-metric-explorer-apps/228024/2 "2020-04-15T14:34:57Z")

</div>

Hello,

We have the saved object api in Kibana: [https://www.elastic.co/guide/en/kibana/master/saved-objects-api-get.html](https://www.elastic.co/guide/en/kibana/master/saved-objects-api-get.html) but it doesn't cover Infra UI objects for now.  
In the meantime you could do your own query to the .kibana index and get the document that has the ` type: infrastructure-ui-source` which is where the settings reside. It's a hacky way of doing it, the format might change over time so I can't guarantee it will work forever.

---

<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 13, 2020, 2:34pm UTC](https://discuss.elastic.co/t/api-to-backup-and-restore-settings-from-infrastructure-and-metric-explorer-apps/228024/3 "2020-05-13T14:34:59Z")

</div>

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