Re: [Bacula-devel] [Bacula-users] Bacula always upgrade differential/incremental to full

2007-07-19 Thread Arno Lehmann
Hi, 19.07.2007 23:55,, Gustavo Gibson da Silva wrote:: > Hi there, > > I've noticed that full backup jobs that are migrated are not considered > as a Backup job. So I get the following message: Uh oh... if that's true then you found a major problem, I think... I'm forwarding this to the -devel

Re: [Bacula-devel] TS3310 - possible solution

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 16:51, Mariusz Czulada wrote: > Hello, > > Dnia 19-07-2007 o godz. 14:36 Kern Sibbald napisał(a): > > On Thursday 19 July 2007 13:49, Mariusz Czulada wrote: > > > Hi all, > > > > > > I didn't give up so made my own investigation. Now it seems I found the > > > source of my

Re: [Bacula-devel] TS3310 - possible solution

2007-07-19 Thread Mariusz Czulada
Hello, Dnia 19-07-2007 o godz. 14:36 Kern Sibbald napisał(a): > On Thursday 19 July 2007 13:49, Mariusz Czulada wrote: > > Hi all, > > > > I didn't give up so made my own investigation. Now it seems I found the > > source of my problem. I'll describe what I discovered. I need your help > > to veri

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Andreas Helmcke
On 19.07.2007 15:28, Kern Sibbald wrote: > On Thursday 19 July 2007 15:22, BOLLENGIER Eric wrote: > Well, I have changed the behavior you expect to correspond to how most > other parameters of a Volume are handled. The Recycle Pool is set when > a Volume is created, but not changed whe

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 15:22, BOLLENGIER Eric wrote: > > >> Well, I have changed the behavior you expect to correspond to how most > > >> other parameters of a Volume are handled. The Recycle Pool is set when > > >> a Volume is created, but not changed when it is recycled into the new > > >> poo

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
> >> Well, I have changed the behavior you expect to correspond to how most > >> other parameters of a Volume are handled. The Recycle Pool is set when > >> a Volume is created, but not changed when it is recycled into the new > >> pool. Ok, if you use something like Pool { Name = Scratch Re

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Andreas Helmcke
On 19.07.2007 14:40, BOLLENGIER Eric wrote: > On Thursday 19 July 2007 14:20:51 Kern Sibbald wrote: >> On Thursday 19 July 2007 14:09, BOLLENGIER Eric wrote: >> >> That happened because the default pool attributes from the new pool were >> applied when moving the volume out of the Scratch pool. >>

[Bacula-devel] Odp: TS3310 - possible solution

2007-07-19 Thread Mariusz Czulada
I made changes in source and created diff file against current svn version (in attachment). I put #include in dev.c because I don't know how to correctly add header file checking to "configure" script. I tried this on my test environment and seems to work. Will leave it for few more days to ver

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 14:30, BOLLENGIER Eric wrote: > > > > With your new algo, RecyclePool must be set by user per volume. > > > > The problem was that the RecyclePool for the volume was destroyed when > > moving it to another Pool. > > > > I think it is fixed now. > > No, now, get_scratch_vo

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
>From the manual : http://www.bacula.org/dev-manual/Configuring_Director.html#SECTION001416 RecyclePool = On versions 2.1.4 or greater, this directive defines to which pool the Volume will be placed (moved) when it is recycled. Without this directive, a Volume will remain i

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
On Thursday 19 July 2007 14:20:51 Kern Sibbald wrote: > On Thursday 19 July 2007 14:09, BOLLENGIER Eric wrote: > > >From the manual : > > >From the manual : > > http://www.bacula.org/dev-manual/Configuring_Director.html#SECTION001416000 >0 > > > RecyclePool = > > On versions 2.1.4

Re: [Bacula-devel] TS3310 - possible solution

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 13:49, Mariusz Czulada wrote: > Hi all, > > I didn't give up so made my own investigation. Now it seems I found the > source of my problem. I'll describe what I discovered. I need your help > to verify if it is a good way and how to include required changes into > bacul

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
> > With your new algo, RecyclePool must be set by user per volume. > > The problem was that the RecyclePool for the volume was destroyed when > moving it to another Pool. > > I think it is fixed now. No, now, get_scratch_volume() is broken. The RecyclePoolId *must* be set when volume move from S

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 14:09, BOLLENGIER Eric wrote: > > >From the manual : > >From the manual : > http://www.bacula.org/dev-manual/Configuring_Director.html#SECTION001416 > > RecyclePool = > On versions 2.1.4 or greater, this directive defines to which pool the > Volume

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 13:47, BOLLENGIER Eric wrote: > > > > What happens is the following: > > > > > > > > Scratch Pool > > > > Volume X , Recycle Pool = Scratch Pool > > > > > > > > Volume X moved to Default Pool > > > > Default Pool has Recycle Pool = NULL > > > > Volume X Recycle Pool s

[Bacula-devel] TS3310 - possible solution

2007-07-19 Thread Mariusz Czulada
Hi all, I didn't give up so made my own investigation. Now it seems I found the source of my problem. I'll describe what I discovered. I need your help to verify if it is a good way and how to include required changes into bacula code. First reference materials: Programming reference (PRGOGRE

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
> > > What happens is the following: > > > > > > Scratch Pool > > > Volume X , Recycle Pool = Scratch Pool > > > > > > Volume X moved to Default Pool > > > Default Pool has Recycle Pool = NULL > > > Volume X Recycle Pool set to NULL (previously it was unchanged) > > > > "Previously" means be

Re: [Bacula-devel] [Bacula-beta] [Bacula-users] Bacula BETA 2.1.26 released toSource Forge

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 11:33, Alan Brown wrote: > On Mon, 16 Jul 2007, Bill Moran wrote: > > > So, I think it's a good plan from every angle. Furthermore, I think that > > anyone who doesn't think it's a good plan either hasn't reviewed it > > thoroughly, or has some strange axe to grind. > >

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
On Thursday 19 July 2007 11:26, BOLLENGIER Eric wrote: > Hi, > > > A recent "subtle" change to dird/ua_cmds.c causes at least one (possibly > > more) regression scripts to fail. I haven't checked, but I suspect that > > you made the change when you were fixing Andreas' SQL problems. > > I have j

Re: [Bacula-devel] Regression scripts fail

2007-07-19 Thread BOLLENGIER Eric
Hi, > A recent "subtle" change to dird/ua_cmds.c causes at least one (possibly > more) regression scripts to fail. I haven't checked, but I suspect that > you made the change when you were fixing Andreas' SQL problems. I have just cleanup the code. > Basically, the change forces the Recycle Poo

[Bacula-devel] Regression scripts fail

2007-07-19 Thread Kern Sibbald
Hello Eric, A recent "subtle" change to dird/ua_cmds.c causes at least one (possibly more) regression scripts to fail. I haven't checked, but I suspect that you made the change when you were fixing Andreas' SQL problems. Basically, the change forces the Recycle Pool to be the default value as