You’d have to look at + extend the backup scripts.
/usr/local/share/urbackup/scripts/list lists the scripts to run.
You can extend this list by adding another at /usr/local/etc/urbackup/scripts/list. Then list scripts like /usr/local/share/urbackup/scripts/mariadbdump there that output the specific databases.
outputname should be the first parameter, so you could use the same script for all databases if you know a bit of bash/other suitable language.