Bacula-users

[Bacula-users] Disabling Duplicate controls on Copy Jobs

2010-12-16 09:48:14
Subject: [Bacula-users] Disabling Duplicate controls on Copy Jobs
From: "Dan Langille" <dan AT langille DOT org>
To: "bacula-users" <bacula-users AT lists.sourceforge DOT net>
Date: Thu, 16 Dec 2010 09:45:18 -0500
Giday,

I'm considering the option of disabling duplicate job control on copy
jobs.  This is especially useful with the PoolUncopiedJobs option.  With
this option, you want to copy all uncopied jobs from the pool in question.
However, if some of those Jobs are configured to avoid duplicates, you
will run into this situation:

16-Dec 14:30 bacula-dir JobId 42282: The following 4 JobIds were chosen to
be copied: 41741,41786,42183,42234
16-Dec 14:30 bacula-dir JobId 42283: The following 1 JobId was chosen to
be copied: 41741
16-Dec 14:30 bacula-dir JobId 42283: Copying using JobId=41741
Job=nyi_maildir_tarball.2010-12-13_05.55.01_48
16-Dec 14:30 bacula-dir JobId 42283: Bootstrap records written to
/home/bacula/working/bacula-dir.restore.660.bsr
16-Dec 14:30 bacula-dir JobId 42282: Job queued. JobId=42283
16-Dec 14:30 bacula-dir JobId 42282: Copying JobId 42283 started.
16-Dec 14:30 bacula-dir JobId 42285: The following 1 JobId was chosen to
be copied: 41786
16-Dec 14:30 bacula-dir JobId 42285: Copying using JobId=41786
Job=BackupCatalog.2010-12-13_08.15.00_33
16-Dec 14:30 bacula-dir JobId 42285: Bootstrap records written to
/home/bacula/working/bacula-dir.restore.661.bsr
16-Dec 14:30 bacula-dir JobId 42282: Job queued. JobId=42285
16-Dec 14:30 bacula-dir JobId 42282: Copying JobId 42285 started.
16-Dec 14:30 bacula-dir JobId 42287: The following 1 JobId was chosen to
be copied: 42183
16-Dec 14:30 bacula-dir JobId 42287: Copying using JobId=42183
Job=nyi_maildir_tarball.2010-12-16_05.55.01_27
16-Dec 14:30 bacula-dir JobId 42287: Bootstrap records written to
/home/bacula/working/bacula-dir.restore.662.bsr
16-Dec 14:30 bacula-dir JobId 42288: <b>Cancelling duplicate JobId=42284.</b>
16-Dec 14:30 bacula-dir JobId 42288: JobId 42284, Job
nyi_maildir_tarball.2010-12-16_14.30.46_10 marked to be canceled.
16-Dec 14:30 bacula-dir JobId 42282: Job queued. JobId=42287
16-Dec 14:30 bacula-dir JobId 42282: Copying JobId 42287 started.
16-Dec 14:30 bacula-dir JobId 42282: Copying using JobId=42234
Job=BackupCatalog.2010-12-16_08.15.00_18
16-Dec 14:30 bacula-dir JobId 42282: Bootstrap records written to
/home/bacula/working/bacula-dir.restore.663.bsr
16-Dec 14:30 bacula-dir JobId 42289: <b>Cancelling duplicate JobId=42286.</b>
16-Dec 14:30 bacula-dir JobId 42289: JobId 42286, Job
BackupCatalog.2010-12-16_14.30.46_12 marked to be canceled.

This is not optimal.  I want all the jobs copied over, regardless of the
original Job Copy parameters.

I suggest we want a directive such as:

  Ignore Duplicate Controls on Copy = yes

which defaults to no.

I am sure a Job knows it is copying, given these details in the job output:

  Build OS:               i386-portbld-freebsd8.1 freebsd 8.1-STABLE
  Prev Backup JobId:      41741
  Prev Backup Job:        nyi_maildir_tarball.2010-12-13_05.55.01_48
  New Backup JobId:       42284
  Current JobId:          42283

Comments?  Suggestions?

-- 
Dan Langille -- http://langille.org/


------------------------------------------------------------------------------
Lotusphere 2011
Register now for Lotusphere 2011 and learn how
to connect the dots, take your collaborative environment
to the next level, and enter the era of Social Business.
http://p.sf.net/sfu/lotusphere-d2d
_______________________________________________
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>
  • [Bacula-users] Disabling Duplicate controls on Copy Jobs, Dan Langille <=