# Create Backup of all Kibana Objects

**URL:** <https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226>\
**Category:** Kibana\
**Created:** [July 12, 2023, 1:22pm UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226 "2023-07-12T13:22:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tomx1](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@tomx1](https://discuss.elastic.co/u/tomx1)\
**Post date:** [July 12, 2023, 1:22pm UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/1 "2023-07-12T13:22:10Z")

</div>

I would like to make sure that I'm able to restore all objects maintained by Kibana (Visualisations, Pipelines, Transformjobs, Dashboards, Templates, Fleet Settings and and and) from a snapshot. How can I achive that?

I've a shared storage / repository where I can store snapshots. But what is the recommended way to backup all the data mentioned above, which index to choose? I already tried to backup ".kibana" which is an alias for the Kibana index currently in use by my specific Kibana version. But if I do so, the snapshot details look like this - to me its confusing that the name of the backed up index is '.transform-notifications-000002' although I've choosed to backup ".kibana"index (see second screenshot

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

 ![grafik](https://us1.discourse-cdn.com/elastic/original/3X/a/f/afd698dd25768be01caac47e779b43df751de268.png)

It looks like it is not possible to backup / snapshot hidden indices?

---

<div class="post-metadata">

**Author:** ![tsullivan](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsullivan/32/31077_2.png) [@tsullivan](https://discuss.elastic.co/u/tsullivan)\
**Post date:** [July 12, 2023, 5:32pm UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/2 "2023-07-12T17:32:17Z")

</div>

The "Indices" detail in the snapshot seem to be showing what data was backed up in that particular snapshot. Elasticsearch will not copy data that has already been backed up in an earlier snapshot, so perhaps the .kibana index has not changed since the previous snapshot.

Since this is more a question about snapshot and restore, you may have more luck asking in the Elasticsearch area of this forum: [https://discuss.elastic.co/c/elastic-stack/elasticsearch/6](https://discuss.elastic.co/c/elastic-stack/elasticsearch/6)

---

<div class="post-metadata">

**Author:** ![tomx1](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@tomx1](https://discuss.elastic.co/u/tomx1)\
**Post date:** [July 14, 2023, 8:36am UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/3 "2023-07-14T08:36:14Z")

</div>

> [@tsullivan](#):
>
> Elasticsearch will not copy data that has already been backed up in an earlier snapshot, so perhaps the .kibana index has not changed since the previous snapshot.

I only have 4 Snapshots currently and not a single one shows me that the ".kibana" index (which is an alias in reality) has been backed up. I'm seeing that weird ".transform-notifications-\*" index in every single snapshot although I have chosen to backup ".kibana" only. Does not really make sense to me at all.

I'm also surprised that such a fundamental task as backing up all Kibana settings and data is not found in any documentation?

---

<div class="post-metadata">

**Author:** ![hendry.lim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendry.lim/32/71328_2.png) [@hendry.lim](https://discuss.elastic.co/u/hendry.lim)\
**Post date:** [July 15, 2023, 1:07am UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/4 "2023-07-15T01:07:37Z")

</div>

`.kibana` is an alias. You have to specify index patterns or the actual index names when you select the indices to be backed up.

---

<div class="post-metadata">

**Author:** ![tomx1](https://avatars.discourse-cdn.com/v4/letter/t/779978/32.png) [@tomx1](https://discuss.elastic.co/u/tomx1)\
**Post date:** [July 17, 2023, 7:15am UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/5 "2023-07-17T07:15:37Z")

</div>

I know that its an alias, but even if I choose the index directly, the only backed up index is this weird ".transform-notifications-000002" index. Same if I choose to backup ".kibana\_\*". It seems to me like there is a problem with hidden system indices.

I also want to point out that it would'nt be a good solution at all to be forced to choose the index directly and not the alias. Because one have to take care of always editing the snapshot job after an Kibana upgrade because the currently use Kibana index contains the version number.

Could it be, that we have still this problem? [Hidden indices are not included in the snapshots · Issue #57208 · elastic/elasticsearch · GitHub](https://github.com/elastic/elasticsearch/issues/57208)

---

<div class="post-metadata">

**Author:** ![gmarouli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/gmarouli/32/113446_2.png) [@gmarouli](https://discuss.elastic.co/u/gmarouli)\
**Post date:** [July 17, 2023, 7:47am UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/6 "2023-07-17T07:47:38Z")

</div>

I believe this snapshot already contains what you are after.

Kibana configuration and reports are included by default in a snapshot as a feature (when the global state is included as well), you can read more [here](https://www.elastic.co/guide/en/elasticsearch/reference/current/get-features-api.html). Looking at the `daily-snap-2023.07.12-xxxxxxx` it mentions that it includes the feature state of kibana. Based on this I would expect that you are covered.

I am not yet sure what the `.transform-notifications-*` index is about but to start with, I expect that this snapshot is enough.

---

<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:** [August 14, 2023, 7:48am UTC](https://discuss.elastic.co/t/create-backup-of-all-kibana-objects/338226/7 "2023-08-14T07:48:11Z")

</div>

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