Best way to migrate?

Hi all, I'm wanting to migrate to a new server. I've improved thousands of photos to immich so don't really want to start again and have all the storage on a mounted drive that I will just mount to the new server. Been reading about exporting containers Vs images and wondering what was the best way to move Immich. Any help appreciated. Thanks
7 Replies
Alex Tran
Alex Tran3y ago
You only need to bring the pg_data volume over to the new server and the docker-compose.yml file
bo0tzz
bo0tzz3y ago
And the library folder of course ;)
mat429.
mat429.OP3y ago
@Alex Tran @bo0tzz
Thanks very much Quick follow up question, once I've got the new instance running, it creates it's new pg_data. How do I switch it out for the moved one? Ta
Alex Tran
Alex Tran3y ago
I just you just need to replacing it with the old one
mat429.
mat429.OP3y ago
And just one more follow up. I'm moving from a pi3b to a 64 bit system. I think that the error I'm getting (float8_byval) is due to the 32-64 but difference. Is this correct ? And is there any way to modify the volume to account for this as I move it? Thanks
Alex Tran
Alex Tran3y ago
How many assets do you have on your instance, how many users do you have? I am afraid this will have to be more involved by dumping the data of the old 32bit instance and then insert them into the new 64 bit instance. If this is too much of a hassle and your instance doesn't have many assets or user. I suggest just start it from scratch
mat429.
mat429.OP3y ago
I was fearing that was going to be the answer 😅. Thanks for the help, I'll start fresh. Cheers👍

Did you find this page helpful?