Storage full, not able to boot on SSD, sonoff key issue etc

Hi,
I have several problems with my HA.

Problem 1:
I’m using a raspberry 3B+ with a 8Gb SD card using HAOS. The thing is after adding a few zigbee devices to make an alarm, the storage is full… Less than 0.8 gb available. HA won’t let me create a backup…

So I’m stuck. I can’t flash a new bigger SD to import my existing conf…

Problem 2:
I also bought a usb SSD to flash this new HA image and boot on it but even by trying all tutorials I found I haven’t been able to do it…

The boot is always stuck on “scanning usb bus” and never boot on my SSD…

I’m a bit lost on how I can get things going without having to redo my whole HA setup …

Problem 3:
If I plug my SSD I can migrate the data storage so I did it. It worked but after booting when I plug my sonoff zigbee 3.0 key, the system is crashing every time like if plugging the key is interfering with the SSD… I don’t have this problem when only using the SD card.

Problem 4:
If my raspberry reboot with the sonoff key plugged, it will then always boot / crash / reboot in loop… I have to unplug the key, wait for everything to boot correctly then plug the key. I’m using z2mqtt. I’ve seen on some topics that there is a conflict at boot between ZHA and Z2MQTT. The thing is that I’ve removed ZHA (at least it’s not on my devices list anymore) but seems to still be used anyway by HA…

Thanks for helping guys…

8G is pretty slim for running HA. I think the recommended SD card size is much larger. For that matter, a RPi 3B+ is becoming marginal for running HA anyway. I know. I have one. I have to keep my HA implementation pretty lean for it to run reliably. But it most certainly can be done.

There are probably a number of things you can do to get this environment running, at least until you can update your hardware. First and foremost, copy any backup files off that SD card to some other safe location and delete them.

Then look at the size of the database file, home-assistant_v2.db. Chances are that thing is huge. Copy it somewhere if you think you’ll need it, then shut down HA and delete that file. HA will create a new one when it restarts. Follow this guide to minimize its size going forward.

Next, look at all your integrations and add-ons. For example, why Z2M and not just ZHA? Running on minimal hardware, you want to minimize the number of additional processes you’re asking it to run.

I think if you get to a clean, minimum HA base install you’ll find some of the other problems you listed will go away. Or at least be easier to troubleshoot. Good luck!