I believe you are correct that they are in the database, those backup files are quite old on my box, so not positive they are being used anymore. Might just be there as an artifact of an older installation.
They do allow you to "Export" single device templates as a file, and you can import them also. Once that's done you can easily compare them I would think.