I could really use some help on a weird scheduling problem I am having. I have a schedule set up based on WOY (week of year). A full backup occurs on Sat at 00:05, and then incremental backups on Mon, Tue, Wed, Thur, Fri at 00:05. And I have this set up for a 5 week schedule, with a separate pool for each week.
When I look at the schedule bacula seems to think that everything is fine and I see everything schedule out correctly. But for some reason bacula is not following the schedule that it lists. The full backup for week n runs fine, but then it tries to schedule the following incremental backups for week n-1. I'm stumped...are there known scheduling issues with bacula? I have already seen some strange parsing issues with the scheduler syntax that I had to fix by creating separate lines for each day of week. Just to make sure I wasn't going nuts, I grabbed some status data before this weeks full which was week04 and scheduled for Saturday August 22. The output is below and seems to show that the week04 schedule is set correctly for the whole week... Scheduled Jobs: Level Type Pri Scheduled Name Volume =================================================================================== Incremental Backup 10 21-Aug-09 00:05 week03_job week03_01 Full Backup 10 22-Aug-09 00:05 week04_job week04_01 Incremental Backup 10 24-Aug-09 00:05 week04_job week04_01 Incremental Backup 10 25-Aug-09 00:05 week04_job week04_01 Incremental Backup 10 26-Aug-09 00:05 week04_job week04_01 Incremental Backup 10 27-Aug-09 00:05 week04_job week04_01 Incremental Backup 10 28-Aug-09 00:05 week04_job week04_01 Full Backup 10 29-Aug-09 00:05 week05_job week05_01 Incremental Backup 10 31-Aug-09 00:05 week05_job week05_01 Incremental Backup 10 01-Sep-09 00:05 week05_job week05_01 Incremental Backup 10 02-Sep-09 00:05 week05_job week05_01 Incremental Backup 10 03-Sep-09 00:05 week05_job week05_01 Incremental Backup 10 04-Sep-09 00:05 week05_job week05_01 Full Backup 10 05-Sep-09 00:05 week01_job week01_01 Incremental Backup 10 07-Sep-09 00:05 week01_job week01_01 Incremental Backup 10 08-Sep-09 00:05 week01_job week01_01 Incremental Backup 10 09-Sep-09 00:05 week01_job week01_01 Incremental Backup 10 10-Sep-09 00:05 week01_job week01_01 ==== The week04 full ran correctly on Saturday but on the following Monday I started getting email messages that bacula needed a different tape. When I go into the console I see this: Running Jobs: JobId Level Name Status ====================================================================== 17 Increme week03_job.2009-08-24_00.05.00.09 is waiting for a mount request 18 Increme week04_job.2009-08-24_00.05.00.10 is waiting execution 19 Increme week04_job.2009-08-25_00.05.00.11 is waiting execution ==== Running Jobs: Writing: Incremental Backup job week03_job.2009-08-24_00 JobId=17 Volume="week03_01" pool="week03_pool" device="cvgsrv01_tape01" (/dev/nst0) spooling=0 despooling=0 despool_wait=0 Files=0 Bytes=0 Bytes/sec=0 FDReadSeqNo=6 in_msg=6 out_msg=4 fd=6 So it looks like it tried to schedule a week03 job right before the week04 and locked up the tape drive (since the week04 tape is still there). But that is not even listed on the schedule! If anyone has any ideas I would appreciate hearing them. I've included the nitty gritty details below. Thanks! -- jwulf BACULA CONFIGURATION -------------------- Version 2.4.4 running on FC 10 DIRECTOR CONFIGS - Job, Schedule, and Pool Definitions ------------------------------------------------------- Job { Name = week01_job Enabled = yes Type = Backup Client = cvgsrv01-fd Messages = Standard Pool = week01_pool Schedule = week01_schedule Storage = lto_tape FileSet = home1_applic } Job { Name = week02_job Enabled = yes Type = Backup Client = cvgsrv01-fd Messages = Standard Pool = week02_pool Schedule = week02_schedule Storage = lto_tape FileSet = home1_applic } Job { Name = week03_job Enabled = yes Type = Backup Client = cvgsrv01-fd Messages = Standard Pool = week03_pool Schedule = week03_schedule Storage = lto_tape FileSet = home1_applic } Job { Name = week04_job Enabled = yes Type = Backup Client = cvgsrv01-fd Messages = Standard Pool = week04_pool Schedule = week04_schedule Storage = lto_tape FileSet = home1_applic } Job { Name = week05_job Enabled = yes Type = Backup Client = cvgsrv01-fd Messages = Standard Pool = week05_pool Schedule = week05_schedule Storage = lto_tape FileSet = home1_applic } Schedule { Name = week01_schedule Run = Level=Full Pool=week01_pool W01,W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on sat at 0:05 Run = Level=Incremental Pool=week01_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on mon at 0:05 Run = Level=Incremental Pool=week01_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on tue at 0:05 Run = Level=Incremental Pool=week01_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on wed at 0:05 Run = Level=Incremental Pool=week01_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on thu at 0:05 Run = Level=Incremental Pool=week01_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on fri at 0:05 } Schedule { Name = week02_schedule Run = Level=Full Pool=week02_pool W02,W07,W12,W17,W22,W27,W32,W37,W42,W47,W52 on sat at 0:05 Run = Level=Incremental Pool=week02_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on mon at 0:05 Run = Level=Incremental Pool=week02_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on tue at 0:05 Run = Level=Incremental Pool=week02_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on wed at 0:05 Run = Level=Incremental Pool=week02_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on thu at 0:05 Run = Level=Incremental Pool=week02_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on fri at 0:05 } Schedule { Name = week03_schedule Run = Level=Full Pool=week03_pool W03,W08,W13,W18,W23,W28,W33,W38,W43,W48,W53 on sat at 0:05 Run = Level=Incremental Pool=week03_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on mon at 0:05 Run = Level=Incremental Pool=week03_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on tue at 0:05 Run = Level=Incremental Pool=week03_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on wed at 0:05 Run = Level=Incremental Pool=week03_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on thu at 0:05 Run = Level=Incremental Pool=week03_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on fri at 0:05 } Schedule { Name = week04_schedule Run = Level=Full Pool=week04_pool W04,W09,W14,W19,W24,W29,W34,W39,W44,W49 on sat at 0:05 Run = Level=Incremental Pool=week04_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on mon at 0:05 Run = Level=Incremental Pool=week04_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on tue at 0:05 Run = Level=Incremental Pool=week04_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on wed at 0:05 Run = Level=Incremental Pool=week04_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on thu at 0:05 Run = Level=Incremental Pool=week04_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on fri at 0:05 } Schedule { Name = week05_schedule Run = Level=Full Pool=week05_pool W05,W10,W15,W20,W25,W30,W35,W40,W45,W50 on sat at 0:05 Run = Level=Incremental Pool=week05_pool W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on mon at 0:05 Run = Level=Incremental Pool=week05_pool W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on tue at 0:05 Run = Level=Incremental Pool=week05_pool W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on wed at 0:05 Run = Level=Incremental Pool=week05_pool W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on thu at 0:05 Run = Level=Incremental Pool=week05_pool W06,W11,W16,W21,W26,W31,W36,W41,W46,W51 on fri at 0:05 } Pool { Name = week01_pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 33 days } Pool { Name = week02_pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 33 days } Pool { Name = week03_pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 33 days } Pool { Name = week04_pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 33 days } Pool { Name = week05_pool Pool Type = Backup Recycle = no AutoPrune = yes Volume Retention = 365 days } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users