04-03-2013 07:04 AM
Hello
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
Solved! Go to Solution.
04-03-2013 10:14 AM
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.
Thanks
Urs
04-03-2013 08:03 AM
I am asuming you are using BemCLI for this. Have you tried "TapeStorageEjectMediaAfterComplete" in the script?
You can find the exact syntax in the document below. I think it takes a bolean value
04-03-2013 10:14 AM
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.
Thanks
Urs
04-03-2013 11:31 AM
Oh, I probably missed out from your original post. Yes there are a couple of options for export
'TapeStorageExportMedia' and 'TapeStorageExportMediaToVault'
Feel free to try and let me know if you have any issues.
04-05-2013 03:47 AM
Just a quick feedback:
"-TapeStorageExportMedia" worked just fine.
Thanks
Urs