On Friday 13 May 2005 03:24 pm, Martin Simmons wrote: > >>>>> On Fri, 13 May 2005 12:26:16 -0500, Mike Reinehr <[EMAIL PROTECTED]> > >>>>> said: > > Mike> I have the following described job in my bacula-dir.conf file: > > Mike> Job { > Mike> Name = "Bilskirnir-Prune" > Mike> Type = Admin > Mike> Messages = Standard > Mike> Priority = 10 > Mike> Schedule = "WeeklyPrune" > Mike> Storage = File > Mike> Client = bilskirnir-fd > Mike> FileSet = "Bilskirnir File Set" > Mike> Pool = "Bilskirnir Files" > Mike> Full Backup Pool = "Bilskirnir Full Files" > Mike> Incremental Backup Pool = "Bilskirnir Incr Files" > Mike> Prune Volumes = yes > Mike> } > > Mike> My purpose is to prune & then delete disk volumes before I run a > tape backup. > > Mike> The job ran successfully, according to the log file, but no volumes > were Mike> purged, while several should have been. > > Mike> Can someone explain what I am missing? It is a failure to > understand the Mike> concept, or is my configuration just wrong? > > I suspect the problem is that Bacula only looks at Prune Volumes when it > needs a new volume, but admin jobs never need a volume. > > You might try adding a Run Before Job script to that job to run bconsole > with the prune command. > > __Martin >
I suspected as much, but yet the documentation for an Admin Job states: Admin Run a admin Job. An Admin job can be used to periodically run catalog pruning, if you do not want to do it at the end of each Backup Job. Although an Admin job is recorded in the catalog, very little data is saved. So, is this in error, or is there way to do it (other than a script)? Thanks! cmr -- Debian 'Sarge': Registered Linux User #241964 ---- "More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC -------- ------------------------------------------------------- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users