Skip to main content

Automated Tape Import & Reporting

  • June 3, 2025
  • 9 comments
  • 156 views

CMF
Forum|alt.badge.img+8
  • Veeam Legend
  • 90 comments

Hi everyone,
In one of my recent customer projects, I faced the challenge of migrating a client from IBM TSM to Veeam Data Platform. One major concern was the tape handling and reporting capabilities – the customer was used to a higher level of automation with TSM and found Veeam’s native features lacking in comparison.
 
Requirements:
•     Daily backups to tape, followed by offsite rotation.
•    An automated report showing:  

  •  Which tapes need to be taken offsite.
  • Which tapes should be brought back from the safe.

•    Automatic re-import of tapes whose write protection had expired.
 
The Solution:
 
1. Reporting with “MyVeeamReport”
Since the customer didn’t want to license Veeam ONE, we used the community project [MyVeeamReport] https://github.com/marcohorstmann/MyVeeamReport . This PowerShell script provides:
•    Compact, customizable reports for all backup jobs.
•    Flexible configuration via parameters.
 


•    Detailed tape job information.
 


 
 
This allowed the customer to receive a daily automated overview of all relevant tape activities including the List of tapes he needs to bring from and to the safe.
 
2. Automated Tape Import
To automate the re-import of tapes, I developed a custom PowerShell script that:
•    Scans all tapes in the tape library.
 


 
•    Identifies tapes whose write protection has expired & unprotect them.
 


 
•    Moves them back into the “Free Pool” for reuse.
 
 


•    Sends an email summary with the number of tapes imported.
 
 


 
Here is a link to the script if anybody is interested in using or testing.
https://github.com/ChalidMohamed/tape-automation 

9 comments

coolsport00
Forum|alt.badge.img+21
  • Veeam Legend
  • 4903 comments
  • June 3, 2025

Neat PoSH script ​@CMF . Thanks for sharing! 😊


Chris.Childerhose
Forum|alt.badge.img+21
  • Veeam Legend, Veeam Vanguard
  • 9583 comments
  • June 3, 2025

It is interesting you sharing this as we have a service that is Veeam VCC - Tenant to Tape so I will run this against our Veeam servers.  Great work and thansk for sharing.


Dynamic
Forum|alt.badge.img+11
  • Veeam Vanguard
  • 496 comments
  • June 3, 2025

Thanks Chalid! This could be very useful for some of our customers. I will advertise it 👍


Stabz
Forum|alt.badge.img+8
  • Veeam Legend
  • 413 comments
  • June 4, 2025

I m always impress how people found solution with script :D ! thanks for the share !


Marcel.K
Forum|alt.badge.img+9
  • Veeam Legend
  • 297 comments
  • June 4, 2025

@CMF that’s great! 

Maybe it should be moved to blogs


Dynamic
Forum|alt.badge.img+11
  • Veeam Vanguard
  • 496 comments
  • June 4, 2025

@CMF that’s great! 

Maybe it should be moved to blogs

Good idea, maybe ​@Madi.Cristil or ​@safiya can help?


CMF
Forum|alt.badge.img+8
  • Author
  • Veeam Legend
  • 90 comments
  • June 4, 2025

@CMF that’s great! 

Maybe it should be moved to blogs

Good idea, maybe ​@Madi.Cristil or ​@safiya can help?

Thanks Markus and ​@Marcel.K . I would appreciate it if ​@Madi.Cristil or ​@safiya can assist with the move. 


Tommy O'Shea
Forum|alt.badge.img+5
  • Veeam Legend
  • 359 comments
  • June 4, 2025

This is a great script. I too have felt the lack of tape functionality in Veeam. Hopefully this gets noticed and could be built into the program to occur natively.


waqasali
Forum|alt.badge.img+4
  • Influencer
  • 405 comments
  • July 1, 2025

this is really very interesting ​@CMF