PowerShell script exchange
Post Reply
jb303uk
Novice
Posts: 7
Liked: never
Joined: Feb 11, 2015 11:27 am
Contact:

New-VBRDailyOptions for Add-VBRFileToTapeJob not in GUI

Post by jb303uk »

Hi,
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? (v8.0.0.917)

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
Thanks
James
veremin
Product Manager
Posts: 20415
Liked: 2302 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: New-VBRDailyOptions for Add-VBRFileToTapeJob not in GUI

Post by veremin »

I was able to reproduce it in my lab. We have similar bug with backup to tape job schedule, so, I've asked dev team to take a look at this situation, as well. Should this be confirmed as a bug, it will be addressed in future. Thanks.
Post Reply

Who is online

Users browsing this forum: No registered users and 15 guests