-
- Influencer
- Posts: 12
- Liked: 3 times
- Joined: May 25, 2022 2:27 pm
- Contact:
Use different number of tape devices at GFS job
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.
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.
-
- Product Manager
- Posts: 14840
- Liked: 3086 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
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:
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?
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
Best regards,
Hannes
PS: just curious... what's the problem with parallel streaming for incremental backups?
-
- Influencer
- Posts: 12
- Liked: 3 times
- Joined: May 25, 2022 2:27 pm
- Contact:
Re: Use different number of tape devices at GFS job
Thanks for your help. I thought to myself that there is no other way, I'll try it out.
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)PS: just curious... what's the problem with parallel streaming for incremental backups?
-
- Influencer
- Posts: 12
- Liked: 3 times
- Joined: May 25, 2022 2:27 pm
- Contact:
Re: Use different number of tape devices at GFS job
Maybe someone needs it
I try this after the Tape Backup:
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
}
-
- Product Manager
- Posts: 14840
- Liked: 3086 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
thanks for sharing with the community and happy that it worked
-
- Influencer
- Posts: 16
- Liked: 1 time
- Joined: May 10, 2022 3:48 pm
- Contact:
Re: Use different number of tape devices at GFS job
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!
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 }
Who is online
Users browsing this forum: No registered users and 11 guests