# Migrating all data and configs when upgrading Dremio version

**URL:** <https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048>\
**Category:** Uncategorized\
**Created:** [March 1, 2021, 7:36pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048 "2021-03-01T19:36:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![tiibra](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tiibra](https://community.dremio.com/u/tiibra)\
**Post date:** [March 1, 2021, 7:36pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048/1 "2021-03-01T19:36:08Z")

</div>

Hi everyone!!

I want to migrate my deployment from the current version 4.8 to the latest one 13.0.  
My question is: how can I migrate everything (data, users, etc) to this new deployment? I dont want to lose any kind of existing data/configuration.

By looking into the documentation there’s an option to do a backup/restore but it says it doesnt work on different Dremio versions.  
[https://docs.dremio.com/advanced-administration/backup.html](https://docs.dremio.com/advanced-administration/backup.html)

> **[Upgrading Dremio AWS Edition](https://www.dremio.com/tutorials/upgrading-dremio-aws-edition/)**
>
> Follow the steps in this tutorial to upgrade the version of your Dremio AWS Edition cluster.

And here it also says that I can stop the project, deploy a new instance and attach again to the new one. But it was not clear to me if this will ensure I will have all the existing data/users/configuration there.

---

<div class="post-metadata">

**Author:** ![Michael\_Flower](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/michael_flower/32/3165_2.png) [@Michael\_Flower](https://community.dremio.com/u/Michael_Flower)\
**Post date:** [March 2, 2021, 12:12pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048/2 "2021-03-02T12:12:15Z")

</div>

Hello tiibra,  
When I tested the upgrade, after I attached the new instance to the existing project, the Dremio environment was upgraded and all users, sources etc were intact.  
Hope this helps.

---

<div class="post-metadata">

**Author:** ![tiibra](https://avatars.discourse-cdn.com/v4/letter/t/a9a28c/32.png) [@tiibra](https://community.dremio.com/u/tiibra)\
**Post date:** [March 2, 2021, 6:36pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048/3 "2021-03-02T18:36:21Z")

</div>

Hi Michael,

Thanks for your answer. I will try this way and see how it goes.

---

<div class="post-metadata">

**Author:** ![datocrats-org](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/datocrats-org/32/2565_2.png) [@datocrats-org](https://community.dremio.com/u/datocrats-org)\
**Post date:** [March 2, 2021, 8:15pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048/4 "2021-03-02T20:15:45Z")

</div>

Confirm there are backups being taken of the EBS for the dremio 4.8 instance, if there are you should be able to stop the project in the UI, then provided you are using the same account to create the new instance, Dremio will find the S3 with almost everything. What it doesn’t get is the user uploaded datasets (uploaded via the UI) and any data info since the last successful backup. To get those you need to play with the `dremio admin backup` tool on the running dremio 4.8 instance and extract them from what the backup contains. There’s also a tool on github that has worked but has somewhat difficult setup and may not be stable (last tested ~4.6) called [dremio cloner](https://github.com/mikhail-dremio/dremio-cloner) it is worth a try if the first method fails. As another backup method, you can also query the sys schema into Excel (if not using https) or use the API some to get most of the contents programmatically using Python using similar methods as that tool.

---

<div class="post-metadata">

**Author:** ![Michael\_Flower](https://sea2.discourse-cdn.com/flex020/user_avatar/community.dremio.com/michael_flower/32/3165_2.png) [@Michael\_Flower](https://community.dremio.com/u/Michael_Flower)\
**Post date:** [March 15, 2021, 5:05pm UTC](https://community.dremio.com/t/migrating-all-data-and-configs-when-upgrading-dremio-version/7048/5 "2021-03-15T17:05:22Z")

</div>

Good points - note that the Dremio cloner has a new home - see [GitHub - deane-dremio/dremio-cloner](https://github.com/deane-dremio/dremio-cloner)
