Tuesday, November 10, 2026

RPi4 shrink & backup

 



I decided to make a backup copy of the operating system on the Raspberry Pi 4. A lot of changes were made to the original setup, including the Docker/Home Assistant installation.

The file system has been expanded to the max of 42gb using raspi-config.

In my search for an app, my memory produced something called "shrinkmypi" which I could not find on the web, or in my data. I settled on 'pi-shrink' from the web. Multple efforts failed so I resorted to the rpi-clone script I had used before.

The resultant image file, 'RPi4.img', was only 2.9gb in size which is close to the original installed image, in size.



No comments:

Post a Comment

RPi4 shrink & backup

  I decided to make a backup copy of the operating system on the Raspberry Pi 4. A lot of changes were made to the original setup, including...