I am trying to use rsync to backup the HA config folder every night. This runs outside HA based on crontab (Raspbian trixie). When I have had to rebuild the system, I use rsync to copy all the files back before launching HA.
The problem is that every time I do this, HA says the database is corrupt. Why is that? Is there any way to use rsync like this to “properly” backup HA?