# Strategy for automatically importing a kibana backup JSON file

**URL:** <https://discuss.elastic.co/t/strategy-for-automatically-importing-a-kibana-backup-json-file/286829>\
**Category:** Kibana\
**Tags:** docker\
**Created:** [October 15, 2021, 12:36pm UTC](https://discuss.elastic.co/t/strategy-for-automatically-importing-a-kibana-backup-json-file/286829 "2021-10-15T12:36:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ramom01](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ramom01/32/95948_2.png) [@ramom01](https://discuss.elastic.co/u/ramom01)\
**Post date:** [October 15, 2021, 12:36pm UTC](https://discuss.elastic.co/t/strategy-for-automatically-importing-a-kibana-backup-json-file/286829/1 "2021-10-15T12:36:36Z")

</div>

I have an instance of elastic + kibana in version 7.13.1 with docker compose, I have some kibana backup files with some dashboards, and I was wondering if there is a strategy to automatically import these backups when I up my docker containers.

---

<div class="post-metadata">

**Author:** ![matw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/matw/32/13913_2.png) [@matw](https://discuss.elastic.co/u/matw)\
**Post date:** [October 15, 2021, 1:53pm UTC](https://discuss.elastic.co/t/strategy-for-automatically-importing-a-kibana-backup-json-file/286829/2 "2021-10-15T13:53:01Z")

</div>

Hi and welcome to our community!

By backup files, do you mean you have file containing exported `saved objects` of Kibana? Then you could restore those using our Import objects API

> **[Import objects API | Kibana Guide \[master\] | Elastic](https://www.elastic.co/guide/en/kibana/master/saved-objects-api-import.html)**

Or do you have an other kind of backup?

Thx & Best,  
Matthias

---

<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:** [November 12, 2021, 1:53pm UTC](https://discuss.elastic.co/t/strategy-for-automatically-importing-a-kibana-backup-json-file/286829/3 "2021-11-12T13:53:26Z")

</div>

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