Hi,
I have rpi5 8gb with installed rpi latest full-desktop system. I followed this instruction of how to install supervised HA on it - https://github.com/HuckleberryLovesYou/Homeassistant-Supervised-on-Raspberry-Pi-5
Now I have everything running:
headless rpi OS and supervised HA on NVME SSD (250Gb)
SD Card (250Gb) is inserted and waiting for backups/cctv footage/media/etc
I've set up scheduled HA backups to Gdrive using the built in backup utility but I also want to backup the running rpi system image to an SD card, so that in case of failure I could just restore it using an rpi imager. It's specifically important to me on the installation/discovery phase I am right now with HA.
I see that so the rpi will perform full running system backups to ~3-4 Gb .img files on the SD card automatically, each day or by request from myself, keeping the amount of copies to some sensible number and automatically deleting the outdated copies.
As soon as something fails miserably, I'll take the SD card out of rpi, copy .img files from it to my laptop, run rpi imager to restore my configured system to an SD card, install it back to rpi, load desktop and replicate sd card contents to the NVME SSD. After that I take out SD card, reboot and the system is up and running again. Then I can format the SD card and use it for backups.
How can I achieve the scenario above, considering that I only got my pri two days ago, got nvme hat yesterday and have close to zero user experience with Linux?
I also have a local network storage available through WebDAV, so I'd like to use it as a secondary backup location.
I found this solution yesterday https://raspibackup.linux-tips-and-tricks.de/en/home/, but his site is only accessible using VPN for me and I prefer a solution which doesn't care about where my HA is currently located.
Thanks in advance for your suggestions!
Install Homeassistant Supervised on your Raspberry Pi 5 running Raspberry Pi OS 64bit - Tutorial - HuckleberryLovesYou/Homeassistant-Supervised-on-Raspberry-Pi-5