# Are there any best practices for the migration of saved objects between different versions?

**URL:** <https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443>\
**Category:** Kibana\
**Created:** [June 10, 2020, 6:40am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443 "2020-06-10T06:40:51Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [June 10, 2020, 6:40am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/1 "2020-06-10T06:40:51Z")

</div>

I want to migrate the "saved objects" from ELK 7.6.2 version to 7.4.2 version.  
what data must be consistent?  
what needs attention?  
how to move safely, steadily and quickly?

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/6/6/66d5d05f7770f32f25d61d6aea77c7bc91c69066.png)

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [June 10, 2020, 12:16pm UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/2 "2020-06-10T12:16:45Z")

</div>

Hi @wajika,

Are you trying to downgrade your saved objects?

---

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [June 10, 2020, 1:55pm UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/3 "2020-06-10T13:55:29Z")

</div>

Yes, since 7.6.2 is my test environment, 7.4.2 is my official environment. Does the elastic team provide a safe solution for save object migration?

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [June 10, 2020, 2:03pm UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/4 "2020-06-10T14:03:26Z")

</div>

Unfortunately we don't support downgrading versions with saved objects. The current saved objects migrator only works if you're upgrading to a newer version.

---

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [June 11, 2020, 1:37am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/5 "2020-06-11T01:37:38Z")

</div>

@mikecote  
So what should I do？  
If I upgrade from 7.4.2 to 7.7.1, can I use 7.6.2 version of "save objects"?  
I plan to use the new features of 7.7.X.

In addition, can I migrate save objects under different SPACE?

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [June 11, 2020, 11:19am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/6 "2020-06-11T11:19:42Z")

</div>

> [@wajika](#):
>
> If I upgrade from 7.4.2 to 7.7.1, can I use 7.6.2 version of "save objects"?

Yes, those saved objects will auto migrate on start of Kibana version 7.7.1. If you use the import / export feature, they will also auto migrate on import.

> In addition, can I migrate save objects under different SPACE?

The Kibana migrator will upgrade all saved objects in all spaces so no issue there.

---

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [June 13, 2020, 2:51am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/7 "2020-06-13T02:51:14Z")

</div>

@mikecote  
If I accidentally delete the index pattern, it will cause all the visualization charts to be unusable. I think this is a very serious problem (this occasionally occurs). I have a lot of Visualizations that cannot be used (meaning I need to re-create it once?).

---

<div class="post-metadata">

**Author:** ![mikecote](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikecote/32/58549_2.png) [@mikecote](https://discuss.elastic.co/u/mikecote)\
**Post date:** [June 16, 2020, 6:56pm UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/8 "2020-06-16T18:56:25Z")

</div>

> [@wajika](#):
>
> If I accidentally delete the index pattern, it will cause all the visualization charts to be unusable. I think this is a very serious problem (this occasionally occurs). I have a lot of Visualizations that cannot be used (meaning I need to re-create it once?).

The best workaround I can think of would be as follows:

1. Use the saved objects management UI to export your visualizations, dashboards, etc
2. Re-create the accidentally deleted index pattern
3. Import the output file from step 1. It should prompt you to chose a new index pattern and you can pick the one from step 2.

---

<div class="post-metadata">

**Author:** ![wajika](https://avatars.discourse-cdn.com/v4/letter/w/977dab/32.png) [@wajika](https://discuss.elastic.co/u/wajika)\
**Post date:** [June 17, 2020, 12:10am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/9 "2020-06-17T00:10:31Z")

</div>

Thank you for your reply

---

<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:** [July 15, 2020, 12:10am UTC](https://discuss.elastic.co/t/are-there-any-best-practices-for-the-migration-of-saved-objects-between-different-versions/236443/10 "2020-07-15T00:10:37Z")

</div>

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