Of course that is always possible, but my thought is that I am protected and armed against the devil as much as possible.
- A power failure is usually short. Then websites and domoticz are down for a while. That is not of vital importance.
- In case of a problem with the disk, I am covered because it is mirrored.
- In case of other corruption (virus, ransomware?) I am covered, because a backup is made daily via a site2site VPN connection to my old NAS, which is located elsewhere. My websites are already synchronized with it, so it can be switched over fairly quickly if necessary.
- This permanent VPN connection is even firewalled to allow only backup and synchronisation of the websites, from a special backupuser and no other use! But even if this is also corrupt, then I still have the most recent backup of the whole thing on an external disk, which I will take with me on vacation. So I can always access all my important documents if necessary.
- Domoticz does not work for a while, but hey.. I am on vacation. I am going swimming! I will see about that when I get home. And under the parasol I will think of the solution!
- I can still log in with VPN to see via my camera whether lights are on or off and possibly ask one of my children to turn them off. (In principle, everything that is switched automatically can also be operated manually.)
- When I get home, I can temporarily put Domoticz back on my Raspberry, but I have stopped fiddling with SD cards, because I found it unreliable.
- And in the event of a total defect, you have one big advantage. Fail2ban (to stay on topic) is no longer necessary at that point.
I guess I write a script that can export all important data to be accessible on an external disk. Then reset the NAS to factory settings and from that on switch lights, airco, EVOhome et cetera with their own hardware switches, remote controls or apps.
Because one thing is for sure. Domoticz is very powerful in all its possibilities and I like it very much, but it is absolutely not user friendly in its setup and absolutely not suitable when you do not have some system administration skills.