@kaia i have my db file in a git repo with a cron job that does "git commit -am backup" every five minutes or something.
Before that broken ram corrupted an old version of the file. And my backup system to Mega, broke because I had used to much storage there. I lost a few months of data. Very fun expierience (especially with a totp-secret I stored in there). i recovered some data from my clipboard history (bad)