I have a Wordpress website that someone broke at some point when trying to update it. Unfortunately, I do not have a backup of the original files that the site used. What I do have is a seemingly acceptable backup of the SQL database. However, whenever I try to pair this database with some Wordpress files, I get asked to do a database update. When I do a database update, I lose parts of the website that I need. I do not know the specific way it is made, so I cannot simply remake it. I have also checked pretty thoroughly for other backups. These are the best that I have.
What I most like to know is how to find out what version of Wordpress this database belongs to. I have an approximate date of when it was made and when the backup is from, but there are still a lot of potential versions of Wordpress that it could be. And trying all of them would take a very long time.
Could someone please help me find a way to tell what version of Wordpress my database belongs to? Or does anyone have any other ideas that could help me?
Thank you.