Re: [Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
I'm sorry it was a mistake (i click on the wrong place when i was answer your mail). I changed the parameter volume jobs with *update, tomorrow i'll know how did it work. Thanks very much, Alan MeC Lacerda On Wed, Apr 1, 2009 at 3:05 PM, Ryan Novosielski wrote: > -BEGIN PGP SIGNED MESSAGE-

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Please keep replies on-list. As you can see, your maxvolumejobs is 0. It needs to be two. Somewhere between changing the value, updating the volumes, etc., this did not happen. =R Alan Messias wrote: > Here you are the llist media pool : > > *llist

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 1:19 PM, Alan Messias wrote: > Thanks, > > I'm gonna do this. > Remember the key to automatic recycling is that the volume has to be marked "Used" or "Full" and the the retention period has expired. And remember the retention period is counted the from LastWritten. Also bac

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Ryan Novosielski
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The option that makes it mark a tape as "Used" is not the retention time, it's the Max Jobs. You might want to use "Volume Use Duration" instead so you don't have to modify this every time you add a job. In any case, you need to focus on that instead.

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 1:08 PM, Alan Messias wrote: > i add the 5 days yesterday only to make a test. but it didnt work, that is > why i didnt change all the tapes to 5 days. > There are 2 problems with your suggested tape. FitaQuarta2 First it is not marked Used. That is probably because you di

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
i add the 5 days yesterday only to make a test. but it didnt work, that is why i didnt change all the tapes to 5 days. On Wed, Apr 1, 2009 at 2:01 PM, John Drescher wrote: > 2009/4/1 Alan Messias : > > Yeah, > > > > I checked this. This is the tape that i'll use tonight: > > > > *list media pool

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
2009/4/1 Alan Messias : > Yeah, > > I checked this. This is the tape that i'll use tonight: > > *list media pool=PoolQuartaNoite > +-+-+---+-+-+--+--+-+--+---+---+-+ > | mediaid | vol

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
Yeah, I checked this. This is the tape that i'll use tonight: *list media pool=PoolQuartaNoite +-+-+---+-+-+--+--+-+--+---+---+-+ | mediaid | volumename | volstatus | enabled | vol

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 12:33 PM, John Drescher wrote: > On Wed, Apr 1, 2009 at 12:27 PM, Alan Messias wrote: >> Yeah, >> >> The retention already was set to 6 days, i just adjust maximum volume jobs >> to 2, reload and updateed the pool. >> >> But it didnt work. When the backup starts it appends

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 12:27 PM, Alan Messias wrote: > Yeah, > > The retention already was set to 6 days, i just adjust maximum volume jobs > to 2, reload and updateed the pool. > > But it didnt work. When the backup starts it appends to the end of the tape > and dont recycle it. > Can you do a l

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
Yeah, The retention already was set to 6 days, i just adjust maximum volume jobs to 2, reload and updateed the pool. But it didnt work. When the backup starts it appends to the end of the tape and dont recycle it. [], Alan MeC Lacerda On Wed, Apr 1, 2009 at 1:17 PM, John Drescher wrote: > On

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 12:08 PM, Alan Messias wrote: > Thanks four your answer... > > I've one DDS tape for each day. And them should be reused one week later. > But since i configure 2 jobs to write on one tape, bacula doens't recycle > them anymore. > > That is why i want to force it to be purge

Re: [Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
Thanks four your answer... I've one DDS tape for each day. And them should be reused one week later. But since i configure 2 jobs to write on one tape, bacula doens't recycle them anymore. That is why i want to force it to be purged every time the job starts. [], Alan MeC Lacerda On Wed, Apr 1,

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
On Wed, Apr 1, 2009 at 11:09 AM, John Drescher wrote: > 2009/4/1 Alan Messias : >> Hi all, >> >> I can't find a way to force a Job to purge a volume every times it starts. >> Is there a way to do it? >> > > run before job that scripts bconsole > Other methods may be more appropriate if you descri

Re: [Bacula-users] Force to Purge

2009-04-01 Thread John Drescher
2009/4/1 Alan Messias : > Hi all, > > I can't find a way to force a Job to purge a volume every times it starts. > Is there a way to do it? > run before job that scripts bconsole John -- _

[Bacula-users] Force to Purge

2009-04-01 Thread Alan Messias
Hi all, I can't find a way to force a Job to purge a volume every times it starts. Is there a way to do it? Thanks, Alan MeC Lacerda -- http://www.redesfja.com UNIX-Like and Soluções de Rede "-"-"-"-"-"-" Of course it runs NetBSD "-"-"-"-"-"-"