PowerShell script exchange
Post Reply
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Plan daily scan for GFS backup to tape

Post by matteu »

Hello,

I don't find how can I configure this value for backup to tape job with GFS media pool ?
I would like to set it to 4 or 5 am to be sure all my backups are over when I perform the GFS to tape.

Thanks
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Plan daily scan for GFS backup to tape

Post by oleg.feoktistov »

Hi matteu,

Have a look at DailyStartAt parameter in New-VBRTapeGFSScheduleOptions cmdlet.

Best regards,
Oleg
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Plan daily scan for GFS backup to tape

Post by matteu »

Thanks for your answer.

I use it for weekly, monthly, .. but didn't notice the dailystartat.

However I don't know how to use it because I don't have the expected result.

I tried :

Code: Select all

$ScheduleParams =@{
            DailyStartAt = "04:00:00"
            WeeklyDay = "Sunday"
            MonthlyKind = "DayOfMonth" 
            MonthlyDayOfMonth =1 
            YearlyKind = "DayOfYear" 
            YearlyDayOfMonth = 1 
            QuarterlyKind = "DayOfQuarter" 
            QuarterlyDayOfMonth = 1        
        }
        $schedule = New-VBRTapeGFSScheduleOptions @ScheduleParams
Unfortunately all parameters are configured excepted "dailstartat" wich is always 00:00
oleg.feoktistov
Veeam Software
Posts: 1918
Liked: 636 times
Joined: Sep 25, 2019 10:32 am
Full Name: Oleg Feoktistov
Contact:

Re: Plan daily scan for GFS backup to tape

Post by oleg.feoktistov »

Hi matteu,

Looks like DailyStartAt requires another parameter for it to work - WeeklyStartAt. However, looks like I found a bug with it: WeeklyStartAt is required for DailyStartAt to work, but it's not impacting anything itself, so it's redundant. I submitted a bug report to QA. Meanwhile, try using the cmdlet I suggested above with both DailyStartAt and WeeklyStartAt. You can pass the same time for each of the parameters, for example, since WeeklyStartAt will not affect the processing settings.

Best regards,
Oleg
matteu
Veeam Legend
Posts: 725
Liked: 118 times
Joined: May 11, 2018 8:42 am
Contact:

Re: Plan daily scan for GFS backup to tape

Post by matteu »

It works fine yes if I specify dailystartat and weeklystartat.

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 13 guests