Well that's where you went wrong. The restore database function doesn't work that way. The automatic backups are designed for the software to select from one of them should the main database not load properly, but you could manually overwrite the main database and roll back yourself to one of them should there be the need... but what you did was RESTORE the backup database (which is not expected).
Because you've since opened/closed so many times, you've eliminated the opportunity for recovering from an auto-backup, and clearly you don't have a manual backup or other off-drive backup to restore from, let's dissect your settings file, as I believe that's where the problems lie now.
Open this file in your notepad editor:
C:\Users\yourusername\AppData\Roaming\Pioneer\rekordbox\rekordbox3.settings
...and look for these lines:
VALUE name="pioneerDirectory"
VALUE name="masterDbDirectory"
Post their values here please.
