I am trying to schedule my tape jobs to run one after the other. From my research I have developed two methods, both of which run into snags.
Method 1:
Code: Select all
Get-VBRTapeJob -Name $backup'_TAPE' -EA SilentlyContinue | Set-VBRJobSchedule -After -AfterJob $lastjob
After running this, the "Next Run" column when viewing all the tape jobs does change to the desired value (the job before it). However when editing the job schedule in the GUI, the radio button for "Daily at this time:" is still checked, not "After this job:" (despite the value for "After this job:" also being the desired value). Not sure if this is a bug or not, but despite what the "Next Run" column says, the jobs will still kick off with whatever value is in the daily schedule.
I have also attempted the following:
Code: Select all
New-VBRBackupToTapeScheduleOptions -Type Afterjob -Job $lastjob
However it appears that
must be a VBRJob and cannot be a tape job.
Any thoughts would be appreciated.