I have no idea how it works with tapes (I've not seen one for more than 10 years), but it can certainly list the targets for backups with a simple command.
So now please show me how to do this in Bash. For DriveXML working inside a VMWare virtual machine.