Hello,
would any of you be able to share a snippet or PS script that can edit the start time (hour) for the backup health check?
After moving to V12 i have >200 jobs kicking off their health check at 5AM and it's putting some pressure on the storage.
Much appreciated
-
- Influencer
- Posts: 17
- Liked: 2 times
- Joined: Oct 16, 2019 7:43 pm
- Full Name: David Torreggiani
- Contact:
-
- Influencer
- Posts: 17
- Liked: 2 times
- Joined: Oct 16, 2019 7:43 pm
- Full Name: David Torreggiani
- Contact:
Re: Edit Health check daily start time with PS
Bump, anyone had this issue?
-
- Veeam Software
- Posts: 1226
- Liked: 322 times
- Joined: Jun 28, 2016 12:12 pm
- Contact:
Re: Edit Health check daily start time with PS
Hi @superdevo, for the decoupled Health Check or what you see in the job settings?
https://helpcenter.veeam.com/docs/backu ... ml?ver=120 For decoupled
For the one in the job UI settings, just use
Get-VBRJob
Get-VBRJobOptions
The returned object from Get-VBRJobOptions is what you're looking for:
PS C:\Users\Administrator> $OptsJ.GenerationPolicy | gm | where-object {$_.name -like '*recheck*' -OR $_.name -like '*rechek*'}
TypeName: Veeam.Backup.Model.CDomGenerationPolicy
Name MemberType Definition
---- ---------- ----------
EnableRechek Property bool EnableRechek {get;set;}
EnableSimpleObjectStorageRecheck Property bool EnableSimpleObjectStorageRecheck {get;set;}
RecheckBackupMonthlyScheduleOptions Property Veeam.Backup.Model.CDomFullBackupMonthlyScheduleOptions RecheckBackup...
RecheckDays Property System.DayOfWeek[] RecheckDays {get;set;}
RecheckScheduleKind Property Veeam.Backup.Model.EFullBackupScheduleKind RecheckScheduleKind {get;s...
RecheckTime Property timespan RecheckTime {get;set;}
Play with that and see what you find. Once it's set the way you want, use
Set-VBRJobOptions -Job $job -Options $OptsVariable
https://helpcenter.veeam.com/docs/backu ... ml?ver=120 For decoupled
For the one in the job UI settings, just use
Get-VBRJob
Get-VBRJobOptions
The returned object from Get-VBRJobOptions is what you're looking for:
PS C:\Users\Administrator> $OptsJ.GenerationPolicy | gm | where-object {$_.name -like '*recheck*' -OR $_.name -like '*rechek*'}
TypeName: Veeam.Backup.Model.CDomGenerationPolicy
Name MemberType Definition
---- ---------- ----------
EnableRechek Property bool EnableRechek {get;set;}
EnableSimpleObjectStorageRecheck Property bool EnableSimpleObjectStorageRecheck {get;set;}
RecheckBackupMonthlyScheduleOptions Property Veeam.Backup.Model.CDomFullBackupMonthlyScheduleOptions RecheckBackup...
RecheckDays Property System.DayOfWeek[] RecheckDays {get;set;}
RecheckScheduleKind Property Veeam.Backup.Model.EFullBackupScheduleKind RecheckScheduleKind {get;s...
RecheckTime Property timespan RecheckTime {get;set;}
Play with that and see what you find. Once it's set the way you want, use
Set-VBRJobOptions -Job $job -Options $OptsVariable
David Domask | Product Management: Principal Analyst
-
- Influencer
- Posts: 17
- Liked: 2 times
- Joined: Oct 16, 2019 7:43 pm
- Full Name: David Torreggiani
- Contact:
Re: Edit Health check daily start time with PS
Thank you @david.domask!!
I was close, just did not realize that i could not just set an "Hour", but had to set a new datetime for the "RecheckTime" parameter
I was close, just did not realize that i could not just set an "Hour", but had to set a new datetime for the "RecheckTime" parameter
Who is online
Users browsing this forum: No registered users and 17 guests