You need to know your tape devices for your backup
You can use the rsm command to do the job. RSM is a kind of API for Backup software. It manages the backup devices in a database which enables it
to recognize all devices previously used on the system.
This command shows the tape library under windows:
rsm view /tlibrary
This command shows you GUID also:
rsm view /tlibrary /guiddisplay
The output looks like:
HL-DT-ST DVD-ROM GDRH10N 443A1622905649BCA6AAEE01678942E9
If you want to know the media pool you use:
rsm view /tmedia_pool /guiddisplay
Freie Medien 41503735319D423893D700D1CB2D68F2
Nicht erkannte Medien C5D20A1DC2104710AB82972462448238
About the Author
Wim Peeters is electronics engineer with an additional master in IT and over 30 years of experience including time spent in support, development, consulting, training and database administration. Wim has worked with SQL Server since version 6.5. He has developed in C/C++, Java and C# on Windows and Linux in different European countries and different European languages. He writes knowledge base articles to solve IT problems and publishes them on the Lubby Knowledge Platform where he is one of the most important contributors and the main developer.