# Migration to different machine

**URL:** <https://community.umbrel.com/t/migration-to-different-machine/13841>\
**Category:** Support and Troubleshooting\
**Created:** [October 4, 2023, 7:42pm UTC](https://community.umbrel.com/t/migration-to-different-machine/13841 "2023-10-04T19:42:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandermm](https://avatars.discourse-cdn.com/v4/letter/s/e9a140/32.png) [@Sandermm](https://community.umbrel.com/u/Sandermm)\
**Post date:** [October 4, 2023, 7:42pm UTC](https://community.umbrel.com/t/migration-to-different-machine/13841/1 "2023-10-04T19:42:28Z")

</div>

Hi,

I have a pi with external drive on UmbrelOS. I want to upgrade hardware (not umbrel home but a Ubuntu based PC) and migrate the external HD with apps. Is it as simple as just installing umbrel from the commandline and plugging the drive in? Or will the drive then be erased?

Thanks!

---

<div class="post-metadata">

**Author:** ![smolgrrr](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/smolgrrr/32/2825_2.png) [@smolgrrr](https://community.umbrel.com/u/smolgrrr)\
**Post date:** [October 5, 2023, 1:47pm UTC](https://community.umbrel.com/t/migration-to-different-machine/13841/2 "2023-10-05T13:47:50Z")

</div>

If you do a install with `curl -L https://umbrel.sh | bash` and the drive mounted, it will likely overwrite what exists.

But another approach could be: Copy the whole Umbrel directory somewhere, set-up Umbrel on the Ubuntu based PC with the HDD, copy back the Umbrel directory and run `sudo ~/umbrel/scripts/start`  
Then you should be up and going again!
