# Backup & restore dashboard and workspace

**URL:** https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097
**Category:** Kibana
**Created:** [November 14, 2023, 9:27am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097 "2023-11-14T09:27:32Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![StefanC](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@StefanC](https://discuss.elastic.co/u/StefanC)
#### Post date: [November 14, 2023, 9:27am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097/1 "2023-11-14T09:27:32Z")

</div>

What is the prefered way to backup a workspace and dashboard in order to edit them on another installation and copy them back to production machine.

Uptill now we're confronted with id problems and license that gets lost on the import machine.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [November 14, 2023, 11:22am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097/2 "2023-11-14T11:22:14Z")

</div>

Hi @StefanC,

The best way I can think of is scripting it using the [import and export saved objects API](https://www.elastic.co/guide/en/kibana/current/managing-saved-objects.html#managing-saved-objects-export-objects).

Is that what you're doing at the moment? If so is there a particular error or issue on reimport that you're facing?

---

<div class="post-metadata">

### Author: ![StefanC](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@StefanC](https://discuss.elastic.co/u/StefanC)
#### Post date: [November 15, 2023, 7:21am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097/3 "2023-11-15T07:21:27Z")

</div>

We're currently using saved objects. We want to achieve the following senarios:

- exchange dashoards prepared inhouse and installed on production machine.
- make a full safety backup of kibana dashboards/settings

In some trials we lost license and in other cases the dashboard id's were changed which is not ok since we refere to them like in an Iframe.

---

<div class="post-metadata">

### Author: ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)
#### Post date: [November 16, 2023, 10:05am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097/4 "2023-11-16T10:05:51Z")

</div>

Which version of Kibana and Elasticsearch are you using? I'm aware there was a change in 8.x to make the IDs some some saved objects types globally unique.

Can you also share what options you are using on import? Are you making use of the check for existing objects option as discussed [here](https://www.elastic.co/guide/en/kibana/current/saved-object-ids.html#saved-object-ids-impact-when-using-import-and-copy)?

---

<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: [December 14, 2023, 10:06am UTC](https://discuss.elastic.co/t/backup-restore-dashboard-and-workspace/347097/5 "2023-12-14T10:06:13Z")

</div>

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