Quantcast
Channel: CobianSoft
Viewing all articles
Browse latest Browse all 4242

Cobian Reflector • Re: Scheduling not running as expected

$
0
0
Luis,

My little problem still does not seem to be solved.

Reminder - Original situation :
  • 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.
I am currently running 0.9.90 RC1.

As the problem did not vanish after you solved the infinite loop problem, I tested various things :
  • Maybe the problem was the import from CB. I recreated the new tasks with the same settings and disabled the two original ones. It did not change anything.
  • Maybe the problem was the fact the two tasks were running at the same time. I moved the task that ran twice slightly (one minute later). It did not change anything
. However strange things occur. Here are some parts of the logs.

first mail - task "Documents Françoise" (comments in the code) - CR 0.9.75 :

Code:

    2022-01-15 01:02:26 The log files have been successfully deleted.        2022-01-16 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name    2022-01-16 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name         2022-01-16 00:59:12 A backup has started...    2022-01-16 00:59:12 Calculating the number of files. This could take a while...    2022-01-16 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name    2022-01-16 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name    [b]2022-01-16 01:00:00 The task Documents Académie (ae55e8ac-7179-4dd2-817e-22b97cd640ae) is already in queue. The new instance was not added.[/b] ← ********** how does it come it is already in the queue ?         2022-01-16 01:01:37 Backing up the task "Documents Françoise" ← ********** one minute later, second task    2022-01-16 01:01:37 Requesting the creation of a Volume Shadow Copy image for the source...    2022-01-16 01:02:06 The Volume Shadow Copy image has been successfully created.    ... backing up ...    2022-01-16 01:06:56 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 5 minutes, 18 seconds. ***         2022-01-16 01:06:56 Deleting the Volume Shadow Copy image...
second mail - task "Documents Académie" :

Code:

    2022-01-16 01:07:02 The log files have been successfully deleted.        2022-01-16 01:07:29 The Volume Shadow Copy image has been successfully created. ← ********** log is missing "A backup has started", "Calculating", "Backing up the task" and "Requesting the creation of a VSC" !    ... backing up ...    2022-01-16 01:08:48 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 47 seconds. ***         2022-01-16 01:08:48 Deleting the Volume Shadow Copy image...
third mail - task "Documents Françoise" again, backup is empty :

Code:

    2022-01-16 01:08:54 The log files have been successfully deleted.         2022-01-16 01:09:21 The Volume Shadow Copy image has been successfully created. ← ********** still some lines missing before this one    ... backing up, no files !!!  ...    2022-01-16 01:13:43 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 4 minutes, 50 seconds. ***         2022-01-16 01:13:43 Deleting the Volume Shadow Copy image...
  • Maybe the two tasks where too close. I changed the start of the task the ran twice and made it start 15 minutes later. Surprise ! Now, it is the other task that runs twice and the task scheduled to run at 01:15 starts immediately after the end of the second run of the first task, several minutes too early.
first mail - task "Documents Académie" - CR 0.9.77 :

Code:

    2022-01-22 01:02:07 The log files have been successfully deleted.        2022-01-23 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name    2022-01-23 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name         2022-01-23 01:00:01 A backup has started...    2022-01-23 01:00:01 Calculating the number of files. This could take a while...         2022-01-23 01:00:08 Backing up the task "Documents Académie"    2022-01-23 01:00:08 Requesting the creation of a Volume Shadow Copy image for the source...    2022-01-23 01:00:00 Ignoring the task Documents Françoise because it's disabled. ← ********** old task, same name    2022-01-23 01:00:00 Ignoring the task Documents Académie because it's disabled. ← ********** old task, same name    ... backing up ...    2022-01-23 01:01:52 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 43 seconds. ***         2022-01-23 01:01:52 Deleting the Volume Shadow Copy image...
second mail - task "Documents Académie" :

Code:

    2022-01-23 01:02:00 The log files have been successfully deleted.         2022-01-23 01:02:29 The Volume Shadow Copy image has been successfully created. ← ********** still some lines missing before this one    ... backing up; no files !!! ...    2022-01-23 01:03:48 *** Number of errors: 0. Time elapsed for the task "Documents Académie": 0 hours, 1 minutes, 51 seconds. ***         2022-01-23 01:03:48 Deleting the Volume Shadow Copy image...
third mail - task "Documents Françoise" :

Code:

    2022-01-23 01:03:55 The log files have been successfully deleted.         2022-01-23 01:04:28 The Volume Shadow Copy image has been successfully created. ← ********** scheduled to run at 01:15 !!!    ... backing up ...    2022-01-23 01:09:06 *** Number of errors: 0. Time elapsed for the task "Documents Françoise": 0 hours, 5 minutes, 11 seconds. ***         2022-01-23 01:09:06 Deleting the Volume Shadow Copy image...
This was all before RC1.
Tonight, the same thing occurred with RC1 : two backups in a row for "Documents Académie" followed by one for "Documents Françoise".
Good thing : the backup for "Documents Françoise" seems now to start at the scheduled time.

Stranger still :
  • Scheduling for "Documents Académie" is "Daily" at "01:15"
  • Scheduling for "Documents Françoise" is "Weekly" on "Wednesday, Sunday" at "01:00".
  • "Two in a row" only occurs on Sundays at 01:00.
    • Previously on "Documents Françoise" (scheduled twice a week) when it was the first task scheduled at 01:00.
    • Nowadays on "Documents Académie" (daily) and it is the only task running at 01:00.
Could there be a problem at 01:00 on Sundays ?

Here are the config and history files :

Statistics: Posted by gvd — 06 Feb 2022, 07:52



Viewing all articles
Browse latest Browse all 4242

Trending Articles