Were the volumes created with these defaults? If not, have you run the
'update volume' command?

If the volumes carry the same values as these defaults, then I see the
only problem being that your volumes are not marked as used/full once
written (they are left as append and thus not pruned/recycled). To fix
this try the following in your pool resource:

Maximum Volume Jobs = 1

Will mark the volume as USED and allow it to be pruned and recycled when
needed.

Thanks.

Jarrod Meyer
Product Development Engineer
Thusa Business Support (Pty) LTD
 

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:bacula-users-
> [EMAIL PROTECTED] On Behalf Of Andy Collyer
> Sent: 11 May 2007 10:54
> To: 'John Drescher'
> Cc: bacula-users@lists.sourceforge.net
> Subject: Re: [Bacula-users] Auto-reuse
> 
> > > I want to *always* automatically re-use my tapes.  I can
> > achieve this
> > > manually by using bconsole's SQL query mode and updating
> > the Media table:
> > > update Media set VolStatus = "Recycle" [ WHERE ... ]; However,
once
> > > the Volume is used, the Media table entry is re-set to "Append",
so
> > > next time the volume is used it isn't recycled. What's
> > making bacula
> > > update the Media table?
> > Running a backup job.
> >
> > > And more importantly, how do I stop it?
> > >
> > You need to not force this behavior with SQL but to use the
> > recycle directives in bacula-dir.conf
> 
> Well, I thought I had ... Relevant sections of bacula-dir.conf:
> 
> Job {
>   Name = "BackupHome"
>   Type = "Backup"
>   Level = "Full"
>   Client = "Server-fd"
>   FileSet = "Home"
>   Storage = "DLT-V4"
>   Pool = "AC-recycle"
>   Priority = "10"
>   Messages = Standard
>   Schedule = "DailyCycle"
> }
> 
> Pool {
>   Name = "AC-recycle"
>   PoolType = "Backup"
>   Recycle = "yes"
>   AutoPrune = "yes"
>   VolumeRetention = 0 days
>   Maximum Volume Bytes = 148118648832
>   Recycle Current Volume = "yes"
>   LabelFormat = "Recycle-"
> }
> 
> What am I missing or doing wrong???
> 
> Thanks again,
> Andy
> 
> 
> 
>
-----------------------------------------------------------------------
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to