Hi Ryan,

Okay yes that is a good point.

However, the behaviour we are seeing is that the volume is still on
status 'Append' 2 weeks later (tapes get re-used every 2 weeks). Bacula
will happily start writing to the tape, and not recycle it first, which
it should because Volume Retention is 11 days.

Writing to this tape will fail after a while because the tape will be full.

So I guess the root cause would be that the Volume Retention variable is
not being used correctly. Because after 14 days all files should be
removed from the Catalog and the volume marked purged.

Does anyone know if there are timeouts on the mysql jobs doing the
purging? There are a *lot* of rows in File table and a timeout would
cause the jobs not to be purged correctly, I would assume.

mysql> select count(*) from File;
+----------+
| count(*) |
+----------+
| 93317027 |
+----------+
1 row in set (6 min 57.45 sec)

Yes, we have a lot of files, but the mysql database seems to keep on
growing without there being a similar increase in number of files we are
backing up.

This is the only reason I can think of at the moment, a timeout on the
mysql query doing the purging.

Thoughts?

Kind regards,

Costyn van Dongen.

Ryan Novosielski wrote:
> The change occurs at the next attempted backup. That tape will be
> suggested for use, Bacula will check the duration and see that it is
> unacceptable because of the Volume Use Duration. Bacula will then use a
> different tape.
> 
>  ---- _  _ _  _ ___  _  _  _
>  |Y#| |  | |\/| |  \ |\ |  | |Ryan Novosielski - Systems Programmer III
>  |$&| |__| |  | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922)
>  \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630

-- 
IC&S B.V.
Stadhouderslaan 57
3583 JD UTRECHT
The Netherlands
T: +31 30 6355730
F: +31 30 6355731

http://www.ic-s.nl/

IC&S biedt Support, Ontwikkeling en Consultancy voor uiteenlopende
Internet gerelateerde platformen, met een voorliefde voor Open Source.


-------------------------------------------------------------------------
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