umbrel icon indicating copy to clipboard operation
umbrel copied to clipboard

Move app-data dir to external hardrive.

Open tretaki opened this issue 2 years ago • 2 comments

When using apps like nextcloud plus downloading the whole bitcoin blockchain can require a lot of space. I was thinking that it would be useful to move the app-data dir to an external hard drive.

What is the best way of doing this?

One could make a app-data folder at the external drive and make a symbolic link with ln in the umbrel folder. Would that work? Would it work also with the umbrel updates? What does umbrel do with the app-data folder during updates?

Thanks for any guidance :smile:

tretaki avatar Nov 17 '22 22:11 tretaki

Hey @tretaki. An Umbrel wizard has posted this hack https://github.com/getumbrel/umbrel/issues/1639. It might be the things you are looking for.

IMPranshu avatar Jul 16 '23 16:07 IMPranshu

You can check out how I did this to move nextcloud app to external drive while keeping others on same drive. https://github.com/dcrystalj/umbrel-backuper

Basically you just need to modify docker-compose of the app to map local drive volume to different location (external drive)

dcrystalj avatar Jul 16 '23 16:07 dcrystalj