On Monday 14 November 2005 17:31, Jeffrey L. Taylor wrote: > Quoting Ralf Folkerts <[EMAIL PROTECTED]>: > [snip] > > > However, the Volumes themself are never being removed from the Filesystem > > with this config. AutoPrune nicely removes the Jobs and Volumes from the > > Database but not the Volume-File itself. > > This is how Bacula works, it will never delete a Volume. Remember > it's primarily about backup to tape. You don't delete tapes. You > overwrite them. Somewhere on the list on in the documentation Kern > says that Bacula will never delete volumes.
I think I wasn't very clear in the above statement. What I meant was that as currently programmed Bacula will never delete Volumes (or disk files). I believe that adding some sort of disk Volume management in the future is possible, and such a functionality may be able to delete volumes. However, doing something like that would require a lot of thought ... > If you want them deleted > automatically, run it as a cron job. Below is > a starting point. > > (cd /path/to/bacula/volumes; find . -mtime +31 | xargs rm) > > This will remove ALL files that were modified more than 31 days ago > (actually 31 * 24 hours). Further refinement is possible and probably > desired. > > HTH, > Jeffrey > > > > ------------------------------------------------------- > SF.Net email is sponsored by: > Tame your development challenges with Apache's Geronimo App Server. > Download it for free - -and be entered to win a 42" plasma tv or your very > own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php > _______________________________________________ > Bacula-users mailing list > Bacula-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/bacula-users -- Best regards, Kern ("> /\ V_V ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users