Every 15 minute schedule
ImmortalDragonm opened this issue · 1 comments
I try to use this schedule
Schedule {
Name = "daily 15 min"
Run = Level="Incremental" hourly
Run = Level="Incremental" hourly at 0:15
Run = Level="Incremental" hourly at 0:30
Run = Level="Incremental" hourly at 0:45
}
and it work and show right shedule in "status director", but wrong in web interface. Show every day at 00:00, 00:15, 00:30, 00:45 and no other.
I use debian bookwork and bacula 9.6.7, bacularis 3.0.1.
Hello @ImmortalDragonm
Thank you for reporting this problem.
Yes, you are right that hourly
schedule is wrongly displayed in Bacularis. It is because to display table with schedules Bacularis uses data comming from the status schedule
bconsole command. This command shows schedules in the form that you could notice (0:15
, 0:30
, 0:45
...). You can see it by running:
status schedule="daily 15 min"
This status schedule
command has many advantages that are not available in the status director
. This is the reason why we use it instead of the status director
.
*status help
Command Description
======= ===========
status Report status
Arguments:
all | network [bytes=<nn-b> rtt=<nb-p>] | dir=<dir-name> | director | client=<client-name> |
storage=<storage-name> slots |
schedule [job=<job-name>] [client=<cli-name>] [schedule=<sched-name>] [days=<nn>] [limit=<nn>]
[time] [time=<universal-time-specification>]
I agree that it is a pity that for hourly
it works wrongly. In the Bacula Community we know this problem too. It was reported here:
https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2693
As you can read there, unfortunately the Bacula Project is not interested fixing it however if somebody will provide a patch, it can be applied.
This is a stalemate situation because preparing a workaround on Bacularis level is a bit hard task. Additionally status director
lists only first 50
schedules and does not provide any filters.
I am afraid that for now displaying this hourly
schedule in Bacularis will stay as it is with a hope that some day it will be fixed in Bacula.
Best regards,
Marcin Haba (gani)