I have seem to run into this issue immediately after performing updates in Hubitat Package Manager and then performing a platform upgrade. The reason for logging into my 2+ year working Hubitat install was to add a zigbee device, which worked fine. I then updated the two items above.
I cannot seem to get the local backups to work despite having power cycled it for a few minutes. Reaching out for help before I go the route of a hard reset.
After restoring for what feels like the 100th time it seems to have finally took. Feel free to close. Or if the team would like to look at my logs I would be happy to put my time out there.
I dont know when version it started exactly but before 2.3.8.140 there was an issue with a runaway log that could cause false database corrupted errors due to the log getting so large. That may have been your issue. Now that you are updated it should have turned that of and cleared the log.
Best I can tell is that automatic database version update failed. First time I see this happen, and I'll look into it. The good news is once the database is restored, it uses the new version going forward, and the same issue is not about to occur.