This has happened several times to my Pi-Hole. Even with backups, trying to get my network back online still takes too long. I haven’t found a good solution for resilience yet.
Try to use overlayfs under raspi-config, I’ve been running some raspberry pis for years with that (mostly on offsite locations where fixing dead sd cards is not possible)
Updating the pis is a little more work but in some use cases it’s worth it
Honestly something that critical probably shouldn’t run on a rpi. There are plenty of cheap used thin clients you can buy on eBay that have better performance and reliability. I probably like the thinkcentre micros, but feel and hp have good options too
Pis can be supremely reliable when used correctly for the purpose. E.g. use high quality SD cards and don’t write to them much, or a good quality SSD if you have to do significant writes, etc. My oldest 4 is from 2019 and it’s been in continuous use since then. It used to be a NAS running a 2-disk mirror exported over NFS. These days it’s a gigabit OpenWrt router with SQM. It’s still in the original SD card.
This has happened several times to my Pi-Hole. Even with backups, trying to get my network back online still takes too long. I haven’t found a good solution for resilience yet.
Try to use overlayfs under
raspi-config
, I’ve been running some raspberry pis for years with that (mostly on offsite locations where fixing dead sd cards is not possible)Updating the pis is a little more work but in some use cases it’s worth it
Honestly something that critical probably shouldn’t run on a rpi. There are plenty of cheap used thin clients you can buy on eBay that have better performance and reliability. I probably like the thinkcentre micros, but feel and hp have good options too
Pis can be supremely reliable when used correctly for the purpose. E.g. use high quality SD cards and don’t write to them much, or a good quality SSD if you have to do significant writes, etc. My oldest 4 is from 2019 and it’s been in continuous use since then. It used to be a NAS running a 2-disk mirror exported over NFS. These days it’s a gigabit OpenWrt router with SQM. It’s still in the original SD card.