Comprehensive data protection for all workloads
Post Reply
arondan
Novice
Posts: 5
Liked: 2 times
Joined: Jun 04, 2019 2:26 pm
Contact:

Replication job starting out of schedule

Post by arondan »

Hi guys. This one is really baffling me (but that is not so hard though :lol: )

Here is the scenario:

We have 7 replication jobs that should run starting at 08:00 AM every 3 hours until 05:00 PM. The way we configured this is:

Job 1 - Runs every 3 hours (limited by schedule from 08:00 am to 05:00 pm)
Following jobs are configured to run "After this job:" (Job 2 runs after 1, Job 3 runs after 2 and so on)

All the jobs take to complete between hour and half or two hours.

Here is the problem:

Every day job 1 starts running at 8:00 am and then all the jobs continue to run ok. But at 9:00 am Job 1 starts running again. This eventually sets in motion all the replications again. Considering that when Job 1 starts, there are still running jobs from the previous 8:00 am trigger. We have overlapping of replications which often create issues and errors.

I tried to pull settings with the console (maybe the GUI was buggy) but as far as I can understand nothing should set this job to run at 9:00 am

Code: Select all

PS C:\Users\arondan> Get-VBRJob -name "1 - Alta frecuencia - Replica ESX10 -> ES
X09" | Get-VBRJobScheduleoptions


OptionsScheduleAfterJob               : Veeam.Backup.Model.CScheduleAfterJobOptions

StartDateTimeLocal                    : 04/07/2019 08:00:00 a.m.
EndDateTimeSpecified                  : False
EndDateTimeLocal                      : 05/07/2019 06:26:48 p.m.
RepeatSpecified                       : False
RepeatNumber                          : 1
RepeatTimeUnit                        : hour(s)
RepeatTimeUnitMs                      : 3600000
RetryTimes                            : 3
RetryTimeout                          : 10
RetrySpecified                        : False
WaitForBackupCompletion               : True
BackupCompetitionWaitingPeriodMin     : 180
BackupCompetitionWaitingUnit          : Hours
OptionsDaily                          : Enabled: False, DayNumberInMonth:
                                        Everyday, Days: Sunday, Monday,
                                        Tuesday, Wednesday, Thursday, Friday,
                                        Saturday
OptionsMonthly                        : Enabled: False, Time: 30/04/2015
                                        10:00:00 p.m., Day Number In Month:
                                        Fourth, Day Of Week: Saturday, Months:
                                        January, February, March, April, May,
                                        June, July, August, September,
                                        October, November, December
OptionsPeriodically                   : Enabled: True, Period: 3 hour(s),
                                        ScheduleString: <scheduler><Sunday>1,1,
                                        1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1
                                        ,1,1</Sunday><Monday>1,1,1,1,1,1,1,1,0,
                                        0,0,0,0,0,0,0,0,0,0,1,1,1,1,1</Monday><
                                        Tuesday>1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0
                                        ,0,0,0,1,1,1,1,1</Tuesday><Wednesday>1,
                                        1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1
                                        ,1,1,1</Wednesday><Thursday>1,1,1,1,1,1
                                        ,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1</T
                                        hursday><Friday>1,1,1,1,1,1,1,1,0,0,0,0
                                        ,0,0,0,0,0,0,0,1,1,1,1,1</Friday><Satur
                                        day>1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0
                                        ,0,1,1,1,1,1</Saturday></scheduler>,
                                        HourlyOffset: 0
OptionsContinuous                     : Enabled: False, ScheduleString: <schedu
                                        ler><Sunday>1,1,1,1,1,1,1,1,0,0,0,0,0,0
                                        ,0,0,0,0,0,1,1,1,1,1</Sunday><Monday>1,
                                        1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1
                                        ,1,1,1</Monday><Tuesday>1,1,1,1,1,1,1,1
                                        ,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1</Tuesd
                                        ay><Wednesday>1,1,1,1,1,1,1,1,0,0,0,0,0
                                        ,0,0,0,0,0,0,1,1,1,1,1</Wednesday><Thur
                                        sday>1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,
                                        0,0,1,1,1,1,1</Thursday><Friday>1,1,1,1
                                        ,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,
                                        1</Friday><Saturday>1,1,1,1,1,1,1,1,0,0
                                        ,0,0,0,0,0,0,0,0,0,1,1,1,1,1</Saturday>
                                        </scheduler>
OptionsBackupWindow                   : Veeam.Backup.Model.CBackupWindowOptions
NextRun                               : 07/09/2019 15:00:00
LatestRunLocal                        : 09/07/2019 12:00:07 p.m.
LatestRecheckLocal                    : 01/01/0001 12:00:00 a.m.
BackupAtStartup                       : False
BackupAtLogoff                        : False
BackupAtLock                          : False
BackupAtStorageAttach                 : False
LimitBackupsFrequency                 : False
MaxBackupsFrequency                   : 2
FrequencyTimeUnit                     : Hour
EjectRemovableStorageOnBackupComplete : False
ResumeMissedBackup                    : False
IsServerMode                          : False
IsFakeSchedule                        : False
IsContinious                          : False
Am i missing something? I checked logs for the Job too, nothing too obvious.
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Replication job starting out of schedule

Post by veremin »

What you see is expected behaviour, as periodic interval are counted from midnight: 00-00 + 3-00 + 3-00 + 3-00 = 09-00. Backup window doesn't affect this anyhow, it just prohibits job execution at certain times.

Also, be aware that job chaining is not considered the best practice.

Thanks!
arondan
Novice
Posts: 5
Liked: 2 times
Joined: Jun 04, 2019 2:26 pm
Contact:

Re: Replication job starting out of schedule

Post by arondan »

Thanks! Ok I see what you mean, and from that perpective. It totally makes sense. Now I wonder then, why the Job starts at 08:00 am?
veremin
Product Manager
Posts: 20282
Liked: 2257 times
Joined: Oct 26, 2012 3:28 pm
Full Name: Vladimir Eremin
Contact:

Re: Replication job starting out of schedule

Post by veremin »

It tries to catch up with the missed attempt (the one from 6 am). Thanks!
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 118 guests