PowerShell script exchange
Post Reply
scott.leitch
Novice
Posts: 3
Liked: never
Joined: Apr 23, 2015 7:22 am
Full Name: Scott
Contact:

Cannot assign Schedule to VBR Tape Job

Post by scott.leitch » 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

veremin
Product Manager
Posts: 16689
Liked: 1393 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Cannot assign Schedule to VBR Tape Job

Post by veremin » 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.

Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests