>>>>> 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


-------------------------------------------------------
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

Reply via email to