Bacula-users

Re: [Bacula-users] Auto-deleting purged volumes

2010-01-06 08:00:50
Subject: Re: [Bacula-users] Auto-deleting purged volumes
From: Phil Stracchino <alaric AT metrocast DOT net>
To: Marek Simon <marek.simon AT trustica DOT cz>
Date: Wed, 06 Jan 2010 07:57:39 -0500
Marek Simon wrote:
> Bacula is not intended to delete anything. The way you have a new volume 
> for a new day with a new uniq date-based name is not a good way for 
> bacula. You shuld have the volumes with generic names and recycle them 
> instead of removing them (you do not destroy the tapes after one use 
> either).

Indeed, recycling is the obvious approach for tapes.  For disk-based
backup, though, I have found it to be non-optimal.

> However you always can have a cron script or bacula admin job, which 
> finds the old volumes and removes them.
> I have similar script for deleting volumes older then 60 days, usefull 
> for automatic tide up when you often add and remove clients.

Deleting the volumes from disk is a simple problem.  I was asking
whether anyone had come up with a "standard" way to delete expired
volumes from the catalog as a scheduled admin job.


-- 
  Phil Stracchino, CDK#2     DoD#299792458     ICBM: 43.5607, -71.355
  alaric AT caerllewys DOT net   alaric AT metrocast DOT net   phil AT 
co.ordinate DOT org
         Renaissance Man, Unix ronin, Perl hacker, Free Stater
                 It's not the years, it's the mileage.

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users