Re: [Bacula-users] Multiple full backups in same month
2015-06-25 13:58:21
> Ok, so the option "Allow Duplicate Job=no" can at least prevent multiple
> full backups of the same server in a row as stated before?
As others mentioned, I think it may help in your case but it may not
completely solve the problem that you saw. It looks like you had 5
instances of the same job queued up at the same time. Disallowing
duplicate jobs would mean the last 4 would be canceled once queued (but
after being upgraded to Full). Now, if we assume your original Full job
actually ended up running and completed successfully, your next instance
of this job will still get upgraded to Full I suspect since it's going
to see the canceled jobs as "newer" than that successful Full. The
problem, I think, is what I described here in bug 1882
"The original 5.2.13 behavior when determining if a failed job needs to
be rerun was to look at the start time of the most recent successful
backup. From there it would then see if any job had started since then
and failed. As pointed out, this creates an issue when you have FULL
jobs that tend to run longer than the time period between normal backups
for those jobs. i.e. the job laps itself so to speak. Any new jobs would
be upgraded to FULLs and then canceled since the original FULL was still
running (this assumes that duplicate jobs are not allowed). But once the
original FULL finished, Bacula was grabbing it's start time and then
seeing those canceled FULL jobs that happened since the successful FULL
was started. To me, it seems like looking at the end time of that
successful job makes more sense."
The change I made was to have Bacula look at the real end time of the
last successful job and then see if any jobs have failed since that
time. This fixed these type of issues for us. Sorry that this probably
doesn't help you with fixing it right now if you're running 7.0.x, but I
think it does explain the behavior that you're seeing and also says that
it is still there in 7.0.x
And just for completeness, these are the related settings that we run with:
Allow Duplicate Jobs = no
Cancel Lower Level Duplicates = yes
Cancel Queued Duplicates = yes
Cancel Running Duplicates = no
Rerun Failed Levels = yes
hope this helps,
--tom
------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- Re: [Bacula-users] Multiple full backups in same month, (continued)
- Re: [Bacula-users] Multiple full backups in same month, Rodrigo Abrantes Antunes
- Re: [Bacula-users] Multiple full backups in same month, Silver Salonen
- Re: [Bacula-users] Multiple full backups in same month, Thomas Lohman
- Re: [Bacula-users] Multiple full backups in same month, Rodrigo Abrantes Antunes
- Re: [Bacula-users] Multiple full backups in same month, Heitor Faria
- Re: [Bacula-users] Multiple full backups in same month, Silver Salonen
- Re: [Bacula-users] Multiple full backups in same month, Bryn Hughes
- Re: [Bacula-users] Multiple full backups in same month,
Thomas Lohman <=
- Re: [Bacula-users] Multiple full backups in same month, Silver Salonen
- Re: [Bacula-users] Multiple full backups in same month, Thomas Lohman
- Re: [Bacula-users] Multiple full backups in same month, Mike Ruskai
- Re: [Bacula-users] Multiple full backups in same month, Silver Salonen
|
|
|