I'm trying to create a FilesToTape job with a daily schedule but the job seems to show as a monthly job in the GUI.
It seems to run its daily schedule, (seen in the 'next run' column when looking at all jobs) but shows as a monthly job when you go to edit the job.
Does anyone else see this behaviour? (v22.214.171.1247)
- Code: Select all
$JobName = "Test"
$TapePoolA = $TapePoolA = "MyTapePool"
$Srvr = Get-VBRServer -Name "MyServer";
$Files_Obj = New-VBRFileToTapeObject -Server $Srvr -Path "E:\Backups"
Remove-VBRJob -Job $JobName -Confirm:$False;
$DailyOption = New-VBRDailyOptions -Type SelectedDays -DayOfWeek Tuesday -Period "14:00"
$Schedule = New-VBRFileToTapeBackupPolicy -Type Daily -DailyOptions $DailyOption -Enabled
Add-VBRFileToTapeJob -Object $Files_Obj -FullBackupMediaPool $TapePoolA -Name $JobName -FullBackupPolicy $Schedule -IncrementalBackupPolicy $Schedule