Hopefully you have a backup from when the program was loaded the last time.
It is crucial to work with good backups. Definitely find the best backup you have and check that it is current. All must be green when you go online.
If your backup is not current, then do an offline/online compare and find out what the differences are. If they are just a few, you can investigate the differences and chose to copy them to the offline project. Save this under a new name (!).
If the offline/online differences are many, you may chose to upload the online project completely. Save it under a new name (!!).
With the latest modified project open in TIA, load the previous best backup (from above) as a reference project. Then do an offline/offline compare.
In the comparison result will be listed what differences have been found. Timestamp, comments, code, data, checksum.
If you say there are many DBs that are listed that you didnt expect to have been modified, then it is possible that some of the differences are merely because of timestamp or the checksum is different. It can happen if you edit and then change back to same as before. An experienced programmer knows what to avoid to not touch the DBs.