On Sunday 17 September 2006 21:02, Jo Rhett wrote:
> > Bruno Savioli writes:
> > > If I am not mistaken, you need to have a "Maximum Volumes" in your Pool
> > > directives. Bacula first tries a new volume, if there isn't one, it will
> > > look for the purged ones to recycle.
>  
> On Sun, Sep 17, 2006 at 01:22:08PM -0400, Francisco Reyes wrote:
> > Will have to try that, but I thought the behavior was supposed to be:
> > 1- See if any volume is in append mode
> > 2- If there isn't one, check for purged volumes marked with recycle=1
> > 3- Create new volumes
>  
> Francisco: his answer is correct, and that's the only way it works.
> 
> Bruno / Kern:
> I agree with his statement. The documentation is misleading about this.  I
> figured out quickly enough what was required, but it could be improved.
> 
> Perhaps even better than fixing the documentation would be to fix the logic
> to agree with this.  

The algorithm is very clearly described in the manual at:
http:/www.bacula.org/dev-manual/Automatic_Volume_Recycling.html#SECTION000243000000000000000

> I think it would be nice to not limit the volumes, but 
> have them recycle properly based on retention levels.  

They do recycle based on the retention periods as far as I know. If the 
algorithm is not being followed, then I haven't seen clear proof of it.  A 
few people from time to time say "you see it doesn't work", but without 
supplying all the necessary info. The problem is that the algorithm is rather 
complex and most users either don't understand or don't read all the little 
details.

> This would allow you 
> to adjust rentention levels without sitting down with a flowchart tool to 
> figure out how you need to change the maximum volumes... 

What is described in the Automated Disk Backup chapter of the manual:

http://www.bacula.org/dev-manual/Automated_Disk_Backup.html

has been running in production since 22 January 2004 with absolutely no 
intervention from me other than to install newer versions of Bacula.  The 
database remains a stable size, and it has automatically cycled through the 
volumes for nearly 3 years now.  The only change I made from what is 
described in that chapter is that the data at the site exceeded the original 
estimate of 120GB because they added personel so I added a second 
120GB disk.  

The only thing I can say is that I have seen recycling work for 3 years now 
without fail, and if you read that chapter I am sure you can sit back like me 
and not worry for a long time.  In those nearly 3 years, Bacula has never 
crashed, so I have never had to manually restart it (except after an 
upgrade).  Of course, it is a rather simple setup with a single client.

By the way, the database (SQLite 2.x) has remained stable at 170MB, 
Full backups were running about 30GB, but after cleaning out old Photos and 
Music files, it dropped to about 10GB ...

> 
> (or at least set maximum volumes to a number much larger than expected and
> not work about it actually reaching it without a major problem...)
> 
> -- 
> Jo Rhett
> senior geek
> SVcolo : Silicon Valley Colocation
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job 
easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to