Bacula-users

Re: [Bacula-users] how to recycle volumes ahead of time?

2009-06-17 08:59:46
Subject: Re: [Bacula-users] how to recycle volumes ahead of time?
From: Dirk Bartley <dbartley AT schupan DOT com>
To: Andreas Schuldei <schuldei+bacula-users AT spotify DOT com>
Date: Wed, 17 Jun 2009 08:53:43 -0400
http://www.schupan.com/phpscripts.tgz

Dirk

On Wed, 2009-06-17 at 10:58 +0200, Andreas Schuldei wrote:
> On Wed, Jun 17, 2009 at 4:25 AM, Dirk Bartley<bartleyd2 AT chartermi DOT net> 
> wrote:
> > Greetings
> >
> > My understanding, and I've been wrong before, is that deleting a volume
> > (which is a file) from the catalog does not delete the file from the
> > storage.
> >
> > My recollection is that may have been one of the projects:
> > http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/projects?view=markup
> > On a skim I could not find it, Oh well.
> >
> > So I've scripted my way out of the problem.  One to search the
> > filestorage directory for "Volumes" and select from the catalog.  If any
> > "Files" are not "Cataloged volumes, delete them".  Another to search for
> > the oldest job on those volumes and delete it (it's been copied to
> > tape).  Then yet another to loop through doing it until there is 200GB
> > of space available.
> >
> > I use postgres as well.  If you want to see them just let me know, it
> > uses php from a bash prompt.
> 
> yes, PLEASE give me that script! :-)
> 
> i think i need it urgently.
> 
> /andreas


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users