Page 1 of 6

Scheduling not running as expected

Posted: 21 Nov 2021, 06:47
by gvd
Hello Luis,

On one of my computers, I have two incremental backup tasks :
  • The first one ("Documents Françoise") runs "weekly" on wednesdays and sundays at 01:00.
  • The second one ("Documents Académie") runs "daily" at 01:00.
This morning (and it is not the first time this happened) ...
  • the first task ran at 01:00:01 for 05:20
  • the second at 01:07:09 for 02:00
  • the first task ran a second time at 01:09:15 for 05:20
There was nothing to back up (incremental backup !) but that is not the point.

As far as I can see (Reflector installed only three weeks ago on that computer and several manual start of the tasks during the first days), this occurs ...
  • never on wednesdays (10/11, 17/11)
  • all sundays (14/11, 21/11)
Cobian Reflector v0.9.42 on Windows Server 2008 R2 Standard with SP1
Cobian Backup 11 still installed and running but all tasks are disabled.
History.db attached

Thanks for the great job you are doing.

Best regards,

Gabriel

Re: Scheduling not running as expected

Posted: 21 Nov 2021, 13:59
by cobian
Thanks. I am looking at this at the moment.

Re: Scheduling not running as expected

Posted: 21 Nov 2021, 21:26
by cobian
Could you attach or mail me the current list, please?

Re: Scheduling not running as expected

Posted: 21 Nov 2021, 21:54
by gvd
Hi Luis,

Sorry, I attached the wrong file. Here it is !

Re: Scheduling not running as expected

Posted: 22 Nov 2021, 00:26
by cobian
Thank you. I wonder if those problems began after you tested with the days week order (First, second, etc). There was an infinite loop going on that could have affected the schedule. Wait until the next version tomorrow evening and check if it works correctly then.

Re: Scheduling not running as expected

Posted: 22 Nov 2021, 13:16
by gvd
I will do so and keep you informed.

Re: Scheduling not running as expected

Posted: 28 Nov 2021, 18:01
by gvd
Hi Luis,

The two backups scheduled to run at 01:00 last night ran as expected and I did not have a second run of the first one as happened last week.

Nice job !

:-)

Gabriel

Re: Scheduling not running as expected

Posted: 28 Nov 2021, 18:15
by cobian
Thanks

Re: Scheduling not running as expected

Posted: 06 Dec 2021, 08:32
by gvd
gvd wrote: 28 Nov 2021, 18:01 The two backups scheduled to run at 01:00 last night ran as expected and I did not have a second run of the first one as happened last week.
Luis,

My little problem does not seem to be solved.

Reminder :
  • On my little server, I have two tasks running on my (currently) 0.9.56 Cobian Reflector.
  • Those tasks were imported from Cobian Backup.
  • The first one is started at 01:00 on wednesdays and sundays while the second one is run daily at the same time.
  • On sundays (and only on sundays), the first task restarts "unwillingly" after the end of the second one.
Strange behaviour and bugs :
  • With the two tasks running after each other, the beginning of the mailed logs are quite different (even when the first one only run once) :
    First one starts with

    Code: Select all

        2021-12-01 01:00:01 A backup has started...
        2021-12-01 01:00:01 Calculating the number of files. This could take a while...
         
        2021-12-01 01:03:16 Backing up the task "Documents Françoise"
        2021-12-01 01:03:16 Requesting the creation of a Volume Shadow Copy image for the source...
        2021-12-01 01:04:16 The Volume Shadow Copy image has been successfully created.
    
    while the second one (and any subsequent) skips the first lines and starts with

    Code: Select all

        2021-12-01 01:09:27 The Volume Shadow Copy image has been successfully created.
    
  • Everytime the first task is restarted after the second one, the first task log adds what follows after "Calculating ..."

    Code: Select all

        2021-12-05 01:00:00 The task Documents Académie ({AC166874-B69F-4493-98EB-113FDE579DD0}) is already in queue.
    The new instance was not added.
    
    which is quite strange as there is no task running at that time.
    Could there be a mix up there ? Telling the task is in the queue while it is not and telling the task was not added while it adds it ? This could explain things.
  • This sunday, the first task type was changed to "full" but the reason mentionned in the log is

    Code: Select all

        2021-12-05 01:00:34 Changing the backup type to full. Reason: backup number {0} after the latest full backup.
    {0} ? really ?
What can I send you to help solving that little problem ?

Best regards,

Re: Scheduling not running as expected

Posted: 07 Dec 2021, 01:47
by cobian
I know the cause of the last error. A bad placeholder.

For the rest, I will simulate both tasks schedules and come back to you.