I would like to script creation of our backup and backup copy jobs cause of job redesign. I'm struggeling with changing the default interval time from 00:00 to 18:00 in a backup copy job. It's easy for a backup job: Set-VBRJobSchedule -Job <backupjobname> -daily -at 18:00. But I couldn't find a suiteable cmdlet or any other way to set the interval time of a copy job. Set-VBRJobSchedule doesn't seem to work with backup copy jobs.
Error:
Code: Select all
Set-VBRJobSchedule : Specify a backup job
At line:1 char:1
+ Set-VBRJobSchedule -Job se-bc-62 -daily -at 18:00
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-VBRJobSchedule], Exception
+ FullyQualifiedErrorId : System.Exception,Veeam.Backup.PowerShell.Cmdlets.SetVBRJobSchedule
Daniel