Migrate back from MariaDB to the default SQLite

Sorry, not trying to be picky.
When did the corruptness occur? After the migration or a few hours/days later?

Maybe this helps: Trying to migrate from MariaDB back to default SQLite. Migration completed but corrupted db