Hi, 05.07.2007 00:13,, Barry L. Bond wrote:: > Greetings! > > I have a question, regarding how to get bacula to *not* recycle any > volumes, but purge them when they pass a certain age.
Bacula does not delete file volumes by itself. (IIRC, there is a feature request, though). Three possible solutions to your problem: 1. (The one I prefer) Don't use volume names representing the contents of the volume; Bacula can handle the volume management just fine, so there's usually no need for you to interfere, and so you don't need volume names telling about the contents. 2. Use a script that runs regularly, scans for expired files, deletes them from the catalog, and deletes the files themselves. This requires duplicating some of your setup in that script, which I wouldn't like. 3. Manually delete volumes from the catalog and corresponding files from time to time. This is error prone and requires more work than strictly necessary. > Though I am experimenting with how long to hold jobs and catalogs, > what I want is for bacula to write a filename on my USB external hard > drives (which are holding the backups) and keep that filename/volume for > some time threshold (I'm currently set to 220 days), and then get rid of > that (old) volume/file name, as it constantly writes new ones. > > Also, in my four email messages a week regarding my bacula backup, it > used to, MOST of the time (but not always) write a new volume (file name, > in my case). But, now, it ALWAYS recycles them. Looks like the volume setup and requirements kind of converged - good. Also, keep in mind that the label format directive will probably vanish some time in the future. Arno -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users