Discussions related to exporting backups to tape and backing up directly to tape.
Post Reply
Georg999
Influencer
Posts: 12
Liked: 3 times
Joined: May 25, 2022 2:27 pm
Contact:

Use different number of tape devices at GFS job

Post by Georg999 »

Hello,

I have the following problem:
2 tape drives LTO8 and library are available
the Backup to Tape Job GFS is configured as follows:
Option: Drive usage - 2 tape drives
Daily backup: Every Day (incremental ~ 1TB)
Weekly backup: Saturday (full >40TB)
Monthly backup: First Saturday of the month (full >40TB)
Quarterly backup: disabled
Yearly backup: First Saturday of the year (full >40TB)

Of course, the job now also uses 2 tapes in parallel for the daily backup <1TB. With the other (W/M/Y) backups he should do this to increase performance.
Is there a way to configure the job to use only one drive (tape) for either daily backup or when the job stays under a tape capacity.

Another possibility occurred to me with job scripts before and after the job to change the job on Friday and Saturday so that the drive usage is then adjusted.
But here I lack the knowledge of configuring a job via Powershell.
I would be grateful for any hint to solve my problem.
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Use different number of tape devices at GFS job

Post by HannesK » 1 person likes this post

Hello,
and welcome to the forums.

As you already found out, there is no GUI setting. PowerShell, as suggested by you, should do the job. Something like this:

Code: Select all

$mediapool = Get-VBRTapeMediaPool -Name GFS
Set-VBRTapeGFSMediaPool -MediaPool $mediapool -EnableMultiStreaming:$true 
https://helpcenter.veeam.com/docs/backu ... apool.html
https://helpcenter.veeam.com/docs/backu ... apool.html

Best regards,
Hannes
PS: just curious... what's the problem with parallel streaming for incremental backups?
Georg999
Influencer
Posts: 12
Liked: 3 times
Joined: May 25, 2022 2:27 pm
Contact:

Re: Use different number of tape devices at GFS job

Post by Georg999 »

Thanks for your help. I thought to myself that there is no other way, I'll try it out.
PS: just curious... what's the problem with parallel streaming for incremental backups?
the problem with parallel streaming for incremental backups is the need for twice the tapes, since the incremental backup easily fits on one tape (< 1TB)
Georg999
Influencer
Posts: 12
Liked: 3 times
Joined: May 25, 2022 2:27 pm
Contact:

Re: Use different number of tape devices at GFS job

Post by Georg999 » 2 people like this post

Maybe someone needs it
I try this after the Tape Backup:

Code: Select all

$date = Get-Date
if ($date.DayOfWeek -eq "Friday") {
    $mediapool = Get-VBRTapeMediaPool -Name GFS
    Set-VBRTapeGFSMediaPool -MediaPool $mediapool -EnableMultiStreaming:$true -NumberOfStreams:2 -SplitJobFilesBetweenDrives:$true
    }
        else{
        $mediapool = Get-VBRTapeMediaPool -Name GFS
        Set-VBRTapeGFSMediaPool -MediaPool $mediapool -EnableMultiStreaming:$false 
        }
HannesK
Product Manager
Posts: 14287
Liked: 2877 times
Joined: Sep 01, 2014 11:46 am
Full Name: Hannes Kasparick
Location: Austria
Contact:

Re: Use different number of tape devices at GFS job

Post by HannesK » 1 person likes this post

thanks for sharing with the community and happy that it worked 👍
xzvf
Influencer
Posts: 14
Liked: 1 time
Joined: May 10, 2022 3:48 pm
Contact:

Re: Use different number of tape devices at GFS job

Post by xzvf » 1 person likes this post

Hello Georg,

Did it work?
I am in exactly the same situation, but also have lack of powershell skills.
Will try to rewrite this one though.
Nevertheless this is a lifesaver, thanks for sharing! :)
Georg999 wrote: May 31, 2022 12:34 pm Maybe someone needs it
I try this after the Tape Backup:

Code: Select all

$date = Get-Date
if ($date.DayOfWeek -eq "Friday") {
    $mediapool = Get-VBRTapeMediaPool -Name GFS
    Set-VBRTapeGFSMediaPool -MediaPool $mediapool -EnableMultiStreaming:$true -NumberOfStreams:2 -SplitJobFilesBetweenDrives:$true
    }
        else{
        $mediapool = Get-VBRTapeMediaPool -Name GFS
        Set-VBRTapeGFSMediaPool -MediaPool $mediapool -EnableMultiStreaming:$false 
        }
Post Reply

Who is online

Users browsing this forum: No registered users and 20 guests