Cannot assign Schedule to VBR Tape Job

PowerShell script exchange

Cannot assign Schedule to VBR Tape Job

Veeam Logoby scott.leitch » Tue Sep 08, 2015 12:50 pm

Hello,

I am trying to change media pool used by a Veeam tape job via powershell so I can schedule the change at month end.
It seems though, that setting this parameter will reset the schedule options.
I have tried to copy the schedule options with
Code: Select all
$options = $job.ScheduleOptions


and then reapplying with
Code: Select all
$job | Set-VBRBackupToTapeJob -FullBackupMediaPool Weekly_Export_1 -ScheduleOptions $options


but with no luck. The options show to be correct from powershell, but from the gui the job has nothing under the "next run" column (however in the tape job options, it has changed the chosen "After this job" to be the first in the list).

Any help on how to schedule a change in Media pool for a tape job, without resetting or changing any other job properties, would be appreciated.

Cheers,

Scott
scott.leitch
Novice
 
Posts: 3
Liked: never
Joined: Thu Apr 23, 2015 7:22 am
Full Name: Scott

Re: Cannot assign Schedule to VBR Tape Job

Veeam Logoby v.Eremin » Tue Sep 08, 2015 2:03 pm

Just tested the described behaviour. It seems that Set-VBRBackupToTapeJob does affect "After this job" type of schedule.

I'll double check whether the issue is fixed in version 9 and let you know in accordance.

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


Return to PowerShell



Who is online

Users browsing this forum: No registered users and 6 guests