I have one backup job which always failed when run by the scheduler, and works fine if I run it by hand. Is that wierd or what?
When run by the scheduler I get: 12-May 10:30 lapf-dir: Roger_Jones_Laptop.2006-05-12_10.30.00 Fatal error: sql_create.c:85 sql_create.c:85 insert I NSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Roger_Jones_Laptop.2006-05-12_10.30.00', 'Roger Jones Laptop','B','I','C','2006-05-12 10:30:00',1147426200) failed: Lost connection to MySQL server during query 12-May 10:30 lapf-dir: sql_create.c:85 INSERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES (' Roger_Jones_Laptop.2006-05-12_10.30.00','Roger Jones Laptop','B','I','C','2006-05-12 10:30:00',1147426200) 12-May 10:30 lapf-dir: Roger_Jones_Laptop.2006-05-12_10.30.00 Fatal error: sql_create.c:87 Create DB Job record INS ERT INTO Job (Job,Name,Type,Level,JobStatus,SchedTime,JobTDate) VALUES ('Roger_Jones_Laptop.2006-05-12_10.30.00','R oger Jones Laptop','B','I','C','2006-05-12 10:30:00',1147426200) failed. ERR=Lost connection to MySQL server during query By hand it runs just fine. I back up two users' laptops with the same job definition, the other one works ok. Relevant entries in bacula-dir.conf: JobDefs { Name = "DefaultLaptopJob" Type = Backup Level = Incremental Client = lapf-fd Schedule = "LaptopCycle" Storage = "SONY Library" Messages = Standard Pool = Default Priority = 10 # # try to run every 15minues during the day # if a previous backup of a higher level failed, run that instead # i.e. if we are scheduled to run a differential but the last full # failed run that instead # Rerun Failed Levels = yes Reschedule On Error = yes Reschedule Interval = 15m Reschedule Times = 28 } # #Schedule that runs during the day, when laptops might be connected! # Schedule { Name = "LaptopCycle" Run = Full 1st Fri at 10:30 Run = Differential 2nd-5th Fri at 10:30 Run = Incremental mon-fri at 10:30 } # -- Alex Finch, Research Fellow, Physics Department, Lancaster University. +44 (0) 1524 593618 http://www.lancs.ac.uk/depts/physics/staff/ajf.htm ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users