This solution applies to Yosemite Server Backup 8.8 and newer.
Cleaning is handled automatically. For standalone tape drives, the drive will run a cleaning cycle when you insert a cleaning tape, and will eject the tape when done, regardless of the software. For tape libraries, Yosemite Server Backup regularly asks if the device needs cleaning. If Yosemite Server Backup receives a cleaning alert and there is a cleaning tape with remaining cycles configured in the magazine, Yosemite Server Backup will automatically issue a load command on that tape to perform a cleaning.
Link to this page: