Corrupted database - cannot restore backup

You can manually restore a database by putting the main.db file in the right spot, see Lexicon database & log locations

Make sure there is no journal or wal file next to the old db file.

Check if there is a recent backup you can use in Documents/Lexicon/Backups