Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
Richie Rogers
Novice
Posts: 7
Liked: 1 time
Joined: Aug 14, 2023 10:50 am
Full Name: Richard Rogers
Contact:

AWS VTL Automatic Importing/Configuring New Tapes as Required

Post by Richie Rogers »

Hi,
We're using Veeam Backup & Replication and for our tape backups have an AWS Virtual Tape Library configured.
The VTL is configured to ensure there are always 10 blank tapes available.
Our Veeam Media Pools are configured to automatically use tapes from the "Free Media Pool" as required.
The jobs run fine if I run a manual import tapes job (which imports the ten tapes as "unrecognised" and then manually marked as free).
When the tapes are imported the AWS VTL creates ten more new tapes ready to be imported.
Once the "Free Media Pool" is empty then Veeam prompts to insert a tape until I manually run the import and set/erase tapes as "Free" again.
I'm guessing I've missed a configuration setting somewhere that would automatically perform this (or is there a way to schedule a script to run automatically when the number of tapes in the "Free Media Pool" is less than 10?)

I have raised: Case #06295406
However, I think this is likely to be something I've missed or incorrectly configured, rather than an error or technical issue with the product.

Thanks,
Richie
Mildur
Product Manager
Posts: 9787
Liked: 2585 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: AWS VTL Automatic Importing/Configuring New Tapes as Required

Post by Mildur »

Hi Richie

Completely new tapes must first be introduced to Veeam before you can use them. The process is called
"Inventorying Tapes":
https://helpcenter.veeam.com/docs/backu ... ml?ver=120

For that, you can build a script which leverages Start-VBRTapeInventory cmdlet:
https://helpcenter.veeam.com/docs/backu ... ml?ver=120

Something similar to this:

Code: Select all

$Pool = Get-VBRTapeMediaPool -Name Free
$Tapes = Get-VBRTapeMedium | Where-Object {$_.MediaPoolId -eq $Pool.ID} | measure
$Tapes.Count

If ($Tapes.Count –lt 10) { Get-VBRTapeLibrary -Name "VTL LibraryName" | Start-VBRTapeInventory }
Best,
Fabian
Product Management Analyst @ Veeam Software
Post Reply

Who is online

Users browsing this forum: No registered users and 17 guests