Printed list of tapes

Everything about backing up to tape

Printed list of tapes

Veeam Logoby lordjeffers » Tue Dec 24, 2013 8:37 am

Hello,

I was wondering... is there a way to print a complete list of tapes? When I export tapes from my library (Quantum i80) to take offsite, I would like to include a complete hard-copy list of tapes, including media set, media pool, sequence number etc...

Other than a print screen, I can't see a way of getting this out of Veeam (I'm sure there's a powershell method though)

Thanks, and Merry Christmas!
lordjeffers
Influencer
 
Posts: 11
Liked: never
Joined: Thu Oct 10, 2013 2:03 pm
Full Name: David Jeffery

Re: Printed list of tapes

Veeam Logoby v.Eremin » Tue Dec 24, 2013 9:33 am 1 person likes this post

Hi, David,

The following script should answer your requirements. It lists tapes, along with their names, barcode, mediapools and mediasets they belong to:

Code: Select all
asnp VeeamPSSnapin
Get-VBRTapeMedium |  Select-Object -Property @{N="Tape Name";E={$_.name}}, @{N="Barcode";E={$_.Barcode}}, @{N="Media Set";E={$_.MediaFamilyItem.GetMediaFamily().name}},@{N="Media Pool";E={$_.FindMediaPool().name}}


The output can be sent, then, to a text file.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Printed list of tapes

Veeam Logoby Dima P. » Tue Dec 24, 2013 8:14 pm

David,

Thank you for the perfect request - I believe this type of report should be included in our Veeam One solution, so consider it is forwarded to Veeam One team for further discussion. Meanwhile, you can use the nice power shall script, which would provide all the requested info. Additionally, tape job email notifications on success will generate the list of tape barcodes successfully used during last job run, so you can use it as well (but unfortunately that’s the only info you could get from email notifications).
Dima P.
Veeam Software
 
Posts: 6227
Liked: 439 times
Joined: Mon Feb 04, 2013 2:07 pm
Location: SPb
Full Name: Dmitry Popov

Re: Printed list of tapes

Veeam Logoby v.Eremin » Wed Dec 25, 2013 7:12 am

Additionally, you can get the whole list of parameters a tape medium has by using Get-Member commandlet.

Code: Select all
Get-VBRTapeMedium | get-member

The required parameters can be added to script provided above.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Printed list of tapes

Veeam Logoby David.Hilbert » Mon Jan 13, 2014 7:38 pm

I am looking to pull a report that will show me the jobs that are on each tape after a full backup is run. Is there a powershell command that i can run to get this information
David.Hilbert
Novice
 
Posts: 4
Liked: never
Joined: Mon Jan 13, 2014 7:36 pm
Full Name: David Hilbert

Re: Printed list of tapes

Veeam Logoby v.Eremin » Tue Jan 14, 2014 10:14 am 1 person likes this post

Hi, David, there is a predefined report in Veeam ONE called “Tape Backups” that lists VM restore points along with the tapes they reside on; might be exactly what you're looking for.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Printed list of tapes

Veeam Logoby David.Hilbert » Tue Jan 14, 2014 1:21 pm

I saw that report and it appears to only be available in version 7. We are on version 6.5. We are not able to upgrade to 7.0 due to our hardware. Is there a way to get that report in 6.5?
David.Hilbert
Novice
 
Posts: 4
Liked: never
Joined: Mon Jan 13, 2014 7:36 pm
Full Name: David Hilbert

Re: Printed list of tapes

Veeam Logoby v.Eremin » Tue Jan 14, 2014 1:24 pm

You you're using Veeam ONE 6.5 or VB&R 6.5 or both? I'm wondering because not until version 7 has the tape functionality been introduced in both products.

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Printed list of tapes

Veeam Logoby David.Hilbert » Tue Jan 14, 2014 1:46 pm

We are on Veeam backup and restore 7.0 and Veeam one 6.5
David.Hilbert
Novice
 
Posts: 4
Liked: never
Joined: Mon Jan 13, 2014 7:36 pm
Full Name: David Hilbert

Re: Printed list of tapes

Veeam Logoby v.Eremin » Tue Jan 14, 2014 1:48 pm

Got it. Unfortunately, there is no way you can use v7 reports on the older versions of Veeam ONE.

We are not able to upgrade to 7.0 due to our hardware.

Could you also elaborate what particular system requirement for Veeam ONE server makes your hardware unusable with new version?

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Re: Printed list of tapes

Veeam Logoby David.Hilbert » Tue Jan 14, 2014 2:11 pm

Veeam one aside is there anything in the Veeam B&R powershell that can get me this information?
David.Hilbert
Novice
 
Posts: 4
Liked: never
Joined: Mon Jan 13, 2014 7:36 pm
Full Name: David Hilbert

Re: Printed list of tapes

Veeam Logoby v.Eremin » Tue Jan 14, 2014 2:18 pm

I'm currently looking for PS way how the backups can be mapped to the mediums they reside on. And, apart from this script mentioned above (which lists media sets along with the corresponding tapes), I haven't been able to find anything interesting so far.

Thanks,
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

[MERGED] last used tapes

Veeam Logoby mariovaleri » Thu Feb 06, 2014 2:01 pm

hi to all, do you know if there is a "smart" way to have a list of last tapes used?
thanks a lot, Mario
mariovaleri
Lurker
 
Posts: 2
Liked: never
Joined: Mon Feb 03, 2014 10:46 am

Re: Printed list of tapes

Veeam Logoby foggy » Thu Feb 06, 2014 2:14 pm

Hello, if you mean the list of tapes used during the last job run, then it is available in the job e-mail report.
foggy
Veeam Software
 
Posts: 14716
Liked: 1075 times
Joined: Mon Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson

Re: Printed list of tapes

Veeam Logoby v.Eremin » Thu Feb 06, 2014 2:32 pm

Otherwise, if you want to get the latest written tape, then, you can use the following one-liner:

Code: Select all
Get-VBRTapeMedium | where {$_.LastWriteTime -ne $Null} | Sort-Object {$_.LastWriteTime} -Descending | Select-Object -First 1

Thanks.
v.Eremin
Veeam Software
 
Posts: 13255
Liked: 966 times
Joined: Fri Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin

Next

Return to Tape



Who is online

Users browsing this forum: No registered users and 11 guests

cron