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.

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,


--
---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630

begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/Academic Systems and Technologies
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103-2757
email;internet:[EMAIL PROTECTED]
title:185 South Orange Avenue
tel;work:(973) 972-0922
tel;fax:(973) 485-2612
x-mozilla-html:FALSE
version:2.1
end:vcard


Reply via email to