i would like to introduce myself. I am new to VEEAM, but my company is working with veeam several years now.
I would like to improve my knowledge step by step and get a better picture about the tape librarys we support.
Since V7 we had to create a sheduled task within Windows to do an automatically erase job before we start a tape backup job.
We used the Erase-VBRTapeMedium with a parameter online to do the job. Since V8 this parameter is gone.
We solved it for now by this sequence:
Code: Select all
#VEEAM8.0
ASNP VeeamPSSnapin
Get-VBRTapeLibrary | Start-VBRTapeInventory -wait
#Erase Tapes
$tape = get-VBRTapeMedium
write-host $tape
Erase-VBRTapeMedium -Medium $tape -Wait -Confirm:$false
#VEEAM 7.0
#ASNP VeeamPSSnapin
#Get-VBRTapeLibrary -name "TANDBERG StorageLoader 0495"|Start-VBRTapeInventory
#Get-VBRTapeMedium -Unrecognized | Erase-VBRTapeMedium -RunAsync -Confirm:$false
#$Targetpool = get-VBRTapeMediaPool -name "Media Pool 1"
#$tape = get-VBRTapeMedium -online
#IF(($tape|select Mediapoolid) -ne ($Targetpool|select MediaPoolId)){
# $tape = Get-VBRTapeMedium -Online
# Move-VBRTapeMedium -Medium $tape -MediaPool $Targetpool -Confirm:$false}
I would like to find a Solution. to solve this in a better way.
Has anybody solved this so far?
greetings from Hamburg, germany
Jens