Export tape(s) after backup
I'm creating a one-time backup every day through a powershell script, which works pritty nice.
Now, at the end of the backup job i would like to export the used tape(s) to the Mail-Slot (have three of them which is more than enough). I haven't found a good and easy way to find out which tape(s)/slot(s) where used during backup.
The only place i found the slot/tape directly was the job log:
Get-BEJob -Name "Name of last backup" | Get-BEJobHistory -FromLastJobRun | Get-BEJobLog
Eject only "ejects" the tape
Eject only "ejects" the tape (media) from the drive, which is done anyway when using a tape library.
But, there is also a "TapeStorageExportMedia" option which i haven't saw yet. Will try it with todays backup.