How to test which database belongs to which job?

If your backup has last modified dates on the files that would be easiest. Else you probably have to guess by size and try to run your configuration with each DB.
As far as I know it would check DB against remote files and error out if they didn’t match right away.