Bacula 5.0.3 Ubuntu 10.04 64bit MySQL Since upgrading to 5.0.3 from 3.0.x I get the following duplicate job error when running from a schedule. If I run the copy job manually, it runs without error. The following was typed out by hand, there may be some typos.
Brian- 25-Aug 09:02 marlin2-dir JobId 10782: The following six JobIds were chosen to be copied: 10775,10776,10777,10778,10779,10781 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10783 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10783 started. 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10785 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10785 started. 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10785 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10785 started. 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10787 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10787 started. 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10789 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10789 started. 25-Aug 09:02 marlin2-dir JobId 10782: Job queued. JobId=10791 25-Aug 09:02 marlin2-dir JobId 10782: Copying JobId 10791 started. 25-Aug 09:02 marlin2-dir JobId 10783: Fatal Error: JobId 10782 already running. Duplicate job not allowed. 25-Aug 09:02 marlin2-dir JobId 10783: Fatal Error: JobId 10785 already running. Duplicate job not allowed. 25-Aug 09:02 marlin2-dir JobId 10783: Fatal Error: JobId 10791 already running. Duplicate job not allowed. 25-Aug 09:02 marlin2-dir JobId 10783: Fatal Error: JobId 10787 already running. Duplicate job not allowed. 25-Aug 09:02 marlin2-dir JobId 10783: Fatal Error: JobId 10789 already running. Duplicate job not allowed. ## Disk Full Pool Pool { Name = Disk-Full Pool Type = Backup Storage = Disk Volume Retention = 4 Weeks Auto Prune = yes Recycle = yes Label Format = "vol-" Maximum Jobs = 1 Maximum Volume Bytes = 4G Scratch Pool = Disk-Scratch Recycle Pool = Disk-Scratch Volume Use Duration = 1 days Action On Purge = Truncate Next Pool = LTO3-Copy_Full } ## LTO-3 Pool Pool { Name = LTO3-Copy_Full Pool Type = Backup Storage = LTO-3 Volume Retention = 16 Weeks Auto Prune = yes Recycle = yes Volume Use Duration = 8 days } ## Copy Job to LTO Job { Name = LTO3-Copy_Full Type = Copy Schedule = LTO3-Copy_Full Client = None File Set = None Pool = Disk-Full Messages = Standard Maximum Concurrent Jobs = 1 Priority = 98 Write Bootstrap = /opt/bacula/bsr/%1-%j.bsr Allow Duplicate Jobs = yes Allow Higher Duplicates = yes Cancel Queued Duplicate = no Cancel Running Duplicates = no Spool Attributes = yes Selection Type = SQLQuery Selection Pattern = "SELECT DISTINCT Job.Job.Id FROM Job,Pool WHERE Pool.Name = 'Disk-Full' AND Pool.PoolId = Job.PoolId AND Job.Type = 'B' AND Job.JobStatus IN ('T', 'W') AND Job.jobBytes > 0 AND Job.JobId NOT IN (SELECT PriorJobId FROM Job WHERE Type IN ('B', 'C') AND Job.JobStatus IN ('T', 'W') AND PriorJobId !=0) ORDER by Job.StartTime;" } ------------------------------------------------------------------------------ This SF.net Dev2Dev email is sponsored by: Show off your parallel programming skills. Enter the Intel(R) Threading Challenge 2010. http://p.sf.net/sfu/intel-thread-sfd _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users