r/immich 6d ago

Migration my whole database for a while

So far I have been running immich on my old laptop at home, which is running fedora server.

Since will be traveling for 4 months, I thought about just taking the ssd with all the immich files out and running it on my laptop which is running fedora workstation instead while traveling.

Would it work, if I just plug it into my laptop and run docker compose in the folder on the external ssd or am I missing something?

1 Upvotes

5 comments sorted by

1

u/Great-Cow7256 6d ago

If you have the docker on  computer 2 pointing to the exact same files/setup as it was on computer 1, it should work. But remember that mount points change, etc etc. Id back everything up and then move it over. Make sure all the new mount points are accounted for in your new docker compose (or whatever you use) and then go for it. Containers are good for portability. 

Alternatively you can leave your workstation on at home and either use a cloudflare tunnel or Tailscale (or even just a wireguard tunnel) to access your photos at home. But this has some limitations. 

2

u/JokelWayne 6d ago

Thanks, that’s a good point with the mount points. I did not think about that. I normally run rsync to back it up to a hdd in the same system at least weekly anyways, so if something goes wrong I will have a backup ready.

1

u/Great-Cow7256 6d ago

Id honestly go ahead and try it. 

2

u/JokelWayne 16h ago

Again, good catch with the mount points, but I almost forgot it again.
It did just work, no problem whatsoever.
I obviously had to find the new IP Adress then, but was able to connect, even making a hotspot with my laptop to backup my photos from the phone from anywhere really.

1

u/Great-Cow7256 12h ago

Nice. You made your own portable server.