{"id":12101,"date":"2024-06-23T09:42:06","date_gmt":"2024-06-23T07:42:06","guid":{"rendered":"https:\/\/www.main-vision.com\/richard\/blog\/?p=12101"},"modified":"2024-06-23T09:42:06","modified_gmt":"2024-06-23T07:42:06","slug":"a-move-from-self-hosting-on-a-pi5-8gb-to-a-pi5-4gb-continued","status":"publish","type":"post","link":"https:\/\/www.main-vision.com\/richard\/blog\/a-move-from-self-hosting-on-a-pi5-8gb-to-a-pi5-4gb-continued\/","title":{"rendered":"A Move from Self-Hosting on a Pi5 8gb to a Pi5 4gb Continued"},"content":{"rendered":"<span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span><p>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.<\/p>\n<p>The installation went from using 4gb of 8GB of ram to 2GB of ram out of 4gb. I&#8217;m running Raspberry Pi Lite, rather than Ubuntu Desktop. It ran overnight with no issuess.<\/p>\n<p>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&#8217;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.<\/p>\n<p>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<\/p>\n<p>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&#8217;s as if nothing changed. That&#8217;s great.<\/p>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><span class=\"span-reading-time rt-reading-time\" style=\"display: block;\"><span class=\"rt-label rt-prefix\">Reading Time: <\/span> <span class=\"rt-time\"> 2<\/span> <span class=\"rt-label rt-postfix\">minutes<\/span><\/span>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":11292,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"federated","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[20,9],"tags":[6385,6279,5646,6275,6412,6538],"class_list":["post-12101","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-observation","category-tech-related","tag-audiobookshelf","tag-immich","tag-migration","tag-photoprism","tag-pi5","tag-rsync-self-hosting"],"jetpack_publicize_connections":[],"_links":{"self":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/comments?post=12101"}],"version-history":[{"count":1,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12101\/revisions"}],"predecessor-version":[{"id":12102,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/posts\/12101\/revisions\/12102"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media\/11292"}],"wp:attachment":[{"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/media?parent=12101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/categories?post=12101"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.main-vision.com\/richard\/blog\/wp-json\/wp\/v2\/tags?post=12101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}