Hi all,
is it possible to enable the "Tape job priority" (Prevent this job from being interrupted by source backup jobs) checkbox under "Schedule" for the Tape Jobs via powershell?
I really need to add this functionality to my automation script and set this asap for a lot of jobs. I didn't find this option so far
Thanks in advance.
Kind Regads
Lev
-
- Service Provider
- Posts: 4
- Liked: never
- Joined: Dec 06, 2021 5:18 pm
- Full Name: Lev B.
- Contact:
-
- Veeam Software
- Posts: 2010
- Liked: 670 times
- Joined: Sep 25, 2019 10:32 am
- Full Name: Oleg Feoktistov
- Contact:
Re: How to enable the "Tape job priority" option for Tape Jobs via powershell?
Hi Lev,
Though we don't have this option in official tape cmdlets, I think I found the workaround.
Example with one tape job:
Basically, here we present tape job object as a different type, where this property exists and can be modified.
Keep in mind that this approach is not supported and can be considered as a workaround only.
Best regards,
Oleg
Though we don't have this option in official tape cmdlets, I think I found the workaround.
Example with one tape job:
Code: Select all
$job = Get-VBRTapeJob -Name 'Backup to Tape Job 1'
$convertedJob = [Veeam.Tape.Core.TapeJob]::Get($job.Id)
$convertedJob.Options.IsStopBySourceJobAllowed = $true
$convertedJob.Update()
Keep in mind that this approach is not supported and can be considered as a workaround only.
Best regards,
Oleg
-
- Service Provider
- Posts: 4
- Liked: never
- Joined: Dec 06, 2021 5:18 pm
- Full Name: Lev B.
- Contact:
Re: How to enable the "Tape job priority" option for Tape Jobs via powershell?
Hi Oleg,
thank you very much for this workaround! It works perfectly!
Best regards
Lev
thank you very much for this workaround! It works perfectly!
Best regards
Lev
Who is online
Users browsing this forum: No registered users and 12 guests