On Tuesday 14 March 2006 15:34, Ryan Novosielski wrote:
> Wanted to chime in here because after a long period of time spent
> tinkering with Bacula, I have had my first successful automatic tape
> rotation. I am running 1.38.5 at the moment, so I can say that tape
> recycling really does NOT appear to be broken in 1.38.5 and if you are
> having a problem it is probably misconfiguration. In my case, the reason
> it was not working previously was because I was new to using incremental
> tapes and was attempting to have them expire 1 day too early. Perhaps
> the tape is due to be pruned when you run the command, but not due a few
> mins earlier when the backup is scheduled? It helps to write out
> everything on paper or -- even better -- a calendar.

Thanks. Good point. I have never been able to reproduce the problem. One 
problem is that recycling is fairly sophisticated (or complicated if you 
want) and probably some users are forgetting that Bacula will not recycle a 
Volume even if it is totally pruned if the Volume Retention period has not 
expired ...

>
> Rob de Jong wrote:
> > Attila Fülöp wrote:
> >> I had a similar problem. I fixed it by running "status dir"
> >> a couple of times in an admin job which runs before all other jobs.
> >> Each call of "status dir" triggers one step of the recycling
> >> algorithm.
> >>
> >> Excerpt form this script:
> >>
> >> # first force bacula to update volume status
> >> echo | /usr/local/sbin/bconsole -c /usr/local/etc/bconsole.conf 2>&1
> >>
> >>> /dev/null
> >>
> >> <<EOF
> >> status dir
> >> status dir
> >> status dir
> >> status dir
> >> EOF
> >>
> >> Attila
> >
> > Hi Attila,
> >
> > I am going to give this a go and see the results. Thanks for the tip!
> >
> > Regards,


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to