Hello,

On Fri, 2009-02-27 at 11:27 +0100, Eric Bollengier wrote:
> Hello,
> 
> Le Friday 27 February 2009 10:10:13 Ulrich Leodolter, vous avez écrit :
> > Hello,
> >
> > i've a question about new copy jobs
> > think about three jobs:
> >
> > Job1.Type = "B"
> > Job1.PriorJobId = 0;
> >
> > Job2.Type = "C"
> > Job2.PriorJobId = Job1.JobId
> >
> > Job3.Type = "C"
> > Job3.PriorJobId = Job2.JobId
> >
> >
> > what happens if Job2 is purged ?
> >
> >    Job3.Type = "B"
> >
> > or
> >
> >    Job3.PriorJobId = Job1.JobId ?
> >
> > else
> >
> >    ????
> >
> >
> > Thanks
> 
> When a job is purged, copies are upgraded to Backup. So it should update 
> Job3.Type to B. Maybe it makes sens to copy JobId too.
> 
> Bye
> 

Looks like this was a theoretical question, because current
bacula svn version does not allow copies of copies.

I tried it and got messages like:

troll-dir JobId 16356: JobId 15997 already copied probably by another
Job. Copying stopped.


# grep -n -A 2 "Make sure" migrate.c
289:   /* Make sure this job was not already migrated */
290-   if (jcr->previous_jr.JobType != JT_BACKUP) {
291-      Jmsg(jcr, M_INFO, 0, _("JobId %s already %s probably by
another Job. %s stopped.\n"),


Maybe put a note on:
http://www.bacula.org/manuals/en/concepts/concepts/New_Features.html#SECTION00520000000000000000


Thanks
Ulrich




------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Bacula-devel mailing list
Bacula-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-devel

Reply via email to