Hi All, I a have a problem with scheduling - specifically jobs I think should be getting queued are not.
The story is this I have two exernal USB disks, which are mounted on different mount points, and I want to fire off jobs so that for one week we do a full backup and a set of diffs to one disk and on another week we do a full backup and a set of diffs to the other disk. The idea is that we will eventaully keep some offsite. I can see the schedules in bconsole if I do a "show schedules", but the jobs don't get queued. If I do a manual run of a job, the work, so I am fairly confident that pretty much every thign about the jobs is correct - except the scheduling. Below are a date and a cal ouput from my baculsa director host for reference and below that the two schdules from bacula-dir.conf as well as an the default jobs defs and an example job. Below those is a bcsonsole "status dir" showing none of the jobs queued and a "show schedules". Please not the bottom five chedules were orignally the top fvie schedules but these work so are not very interesting in the context of the problem, so I've moved them to the bottom Bacula version is 1.34.5. I'd really appreciate it if any one could make any suggestions as to what is going on (or more correctly not going on) and any suggestiosn for further diagnosis or fix. Regards and Thanks Jason [EMAIL PROTECTED] bacula]# date Tue Dec 6 10:51:40 CST 2005 [EMAIL PROTECTED] bacula]# cal December 2005 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Schedule { Name = "QuickDiskWeeklySched1" Run = Storage = QuickDiskStorage1 Level = Full Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 1st Sat at 00:05 Run = Storage = QuickDiskStorage1 Level = differential Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 1st sun-fri at 00:05 Run = Storage = QuickDiskStorage1 Level = Full Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 3rd Sat at 00:05 Run = Storage = QuickDiskStorage1 Level = differential Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 3rd sun-fri at 00:05 Run = Storage = QuickDiskStorage1 Level = Full Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 5th Sat at 00:05 Run = Storage = QuickDiskStorage1 Level = differential Pool = QuickDiskPool1 FullPool = QuickDiskPool1 DifferentialPool = QuickDiskPool1 5th sun-fri at 00:05 } # This schedule fires off jobs on the 2nd and 4th weeks of the month Schedule { Name = "QuickDiskWeeklySched2" Run = Storage = QuickDiskStorage2 Level = Full Pool = QuickDiskPool2 FullPool = QuickDiskPool2 DifferentialPool = QuickDiskPool2 2nd Sat at 00:05 Run = Storage = QuickDiskStorage2 Level = differential Pool = QuickDiskPool2 FullPool = QuickDiskPool2 DifferentialPool = QuickDiskPool2 2nd sun-fri at 00:05 Run = Storage = QuickDiskStorage2 Level = Full Pool = QuickDiskPool2 FullPool = QuickDiskPool2 DifferentialPool = QuickDiskPool2 4th Sat at 00:05 Run = Storage = QuickDiskStorage2 Level = differential Pool = QuickDiskPool2 FullPool = QuickDiskPool2 DifferentialPool = QuickDiskPool2 4th sun-fri at 00:05 } # one set of job defaults that includes both the schedules # these same jobs will fir off the odd and even numbered weeks schedules # these schedules in turn vary the pool and sotrage from odd to even weeks JobDefs { Name = QuickDiskDefaults Schedule = "QuickDiskWeeklySched1" Schedule = "QuickDiskWeeklySched2" Pool = QuickDiskPool1 # overidden in shedule Storage = QuickDiskStorage1 # overidden in schedule Level= Differential #never used, overridden in schedule Client Run Before Job = /usr/local/bin/su/before_backup Client Run After Job = /usr/local/bin/su/after_backup Messages = Standard Type = Backup Priority = 10 #if the job has been delayed for >23hrs, cancel it Max Start Delay = 82800 #stop shoeshining, spool data across network to disk first Spool Data = yes } #********** Real jobs to disk storage on quick ************** Job { Name = "radio-disk" JobDefs = QuickDiskDefaults Client = radio-fd FileSet = "radio-disk" Write Bootstrap = "/var/lib/bacula/radio-disk.bsr" } *status dir Using default Catalog name=MySQL DB=bacula radio-dir Version: 1.34.5 (21 June 2004) i586-mandrake-linux-gnu mandrake (Community) Daemon started 06-Dec-05 10:38, 1 Job run since started. Scheduled Jobs: Level Type Scheduled Name Volume =============================================================================== Differential Backup 07-Dec-05 02:05 radio *unknown* Differential Backup 07-Dec-05 00:05 BackupCatalog *unknown* Differential Backup 07-Dec-05 00:05 retro *unknown* Differential Backup 07-Dec-05 00:05 under *unknown* Differential Backup 07-Dec-05 00:05 quick *unknown* Differential Backup 07-Dec-05 00:05 hyper *unknown* Differential Backup 07-Dec-05 00:05 hyperapp *unknown* Differential Backup 07-Dec-05 00:05 sym01 *unknown* Differential Backup 07-Dec-05 00:05 pvt-gw *unknown* Differential Backup 07-Dec-05 00:05 colo *unknown* ==== Running Jobs: No Jobs running. ==== Terminated Jobs: JobId Level Files Bytes Status Finished Name ======================================================================== 3123 Diff 10,248 204,709,550 OK 06-Dec-05 00:16 under 3122 Diff 1,271 93,162,952 OK 06-Dec-05 00:20 retro 3124 Diff 878 87,124,723 OK 06-Dec-05 00:21 quick 3128 Diff 718 264,161,460 OK 06-Dec-05 00:26 pvt-gw 3125 Diff 1,152 143,443,485 OK 06-Dec-05 00:27 hyper 3129 Diff 497 5,700,001 OK 06-Dec-05 00:27 colo 3126 Diff 427 46,037,674 OK 06-Dec-05 00:28 hyperapp 3127 Diff 185 2,544,365 OK 06-Dec-05 00:28 sym01 3130 Diff 1 283,473,749 OK 06-Dec-05 00:40 BackupCatalog 3131 Diff 2,033 1,508,013,508 OK 06-Dec-05 03:00 radio ==== *show schedules Schedule: name=QuickDiskWeeklySched1 --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 wom=4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 wom=2 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=2 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 wom=0 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=0 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool1 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool1- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage1 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice1 MediaType=File Schedule: name=QuickDiskWeeklySched2 --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 wom=3 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool2 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool2- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage2 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice2 MediaType=File --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=3 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool2 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool2- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage2 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice2 MediaType=File --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 wom=1 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool2 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool2- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage2 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice2 MediaType=File --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=1 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Pool: name=QuickDiskPool2 PoolType=Backup use_cat=1 use_once=0 acpt_any=0 cat_files=1 max_vols=8 auto_prune=1 VolRetention=7 days VolUse=2 days recycle=1 LabelFormat=BaculaQuickFilePool2- CleaningPrefix=*None* recyleOldest=1 MaxVolJobs=10 MaxVolFiles=0 --> Storage: name=QuickDiskStorage2 address=quick.pvt-servers.groundhog.com.au SDport=9103 MaxJobs=1 DeviceName=QuickDiskDevice2 MediaType=File Schedule: name=WeeklyCycle --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Run Level=Full hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Schedule: name=WeeklyCycleRadio --> Run Level=Differential hour=2 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 --> Run Level=Full hour=2 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Schedule: name=DiffCycle --> Run Level=Differential hour=0 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 * ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users