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<bartle...@chartermi.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@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users