-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Bacula will also not purge an appendable volume, as far as I know. You
need to make sure that the tape is not in a writable state prior to when
you expect it to be purged; others reading this list feel free to
correct me if I'm wrong.

Volume retention is a minimum, not a maximum. If there is no pressing
need to recycle/prune a tape, Bacula will not (if it's still appendable,
for example). You need to limit tape usage by size/jobs/time in order
for this to work as you expect, I think.

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


Costyn van Dongen wrote:
> 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
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (MingW32)

iD8DBQFEs9Gkmb+gadEcsb4RAvHBAJ41Jqb7OXUXUOJH8xPyXBaX6nHuGACg47Vz
a6/Qxn4YiyrA+dvKM0uDL1M=
=ZCBn
-----END PGP SIGNATURE-----



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