A Move from Self-Hosting on a Pi5 8gb to a Pi5 4gb Continued
Yesterday I shifted my data and setup from the Pi5 8gb to the Pi5 4gb with relative ease. I rsynched the data from one Pi to the other, brought up the docker containers, checked that they were working before shutting down the other Pi. I then swapped the 8gb Pi with the four gb pi and turned on the four gb Pi, after plugging the hard drive that I use to store photos and audiobooks and podcasts.
The installation went from using 4gb of 8GB of ram to 2GB of ram out of 4gb. I’m running Raspberry Pi Lite, rather than Ubuntu Desktop. It ran overnight with no issuess.
I considered using a USB key to transfer the data from one SD card to the other but opted for rsync. I copied the immich folder on one machine to immich on the other and repeated this for Photoprism and Audiobookshelf. I then brought each service up, tested that it was working. That’s when I then swapped the Pi5 8gb with the Pi5 4gb, plugged in the hard drive and checked that Photoprism, Audiobookshelf and Immich ran as expected.
I had to run sudo nano /etc/fstab to add the external drive so that it mounts at boot and I still need to add the scripts to reboot the three service automatically if the machine needs to reboot for any reason
Audiobookshelf and Photoprism went fine but Immich did not so I will need to reimport the media for that project. With Audiobookshelf and Photoprism it’s as if nothing changed. That’s great.
The next step is to keep it up and running for seven days and see if there are any issues. I should also setup steps to backup the media drive, as well as the setup files to ensure that if the SD card or the HD fails I can migrate with ease.Those are the next steps.