Mandi! Bill Arlofski via Bacula-users
  In chel di` si favelave...

> Why not set in your Pool(s) `MaximumVolumeJobs = 1`

Ah! Brilliant! Never minded abou that!!!


> If you prefer to have volumes stay in a pool they were initially created in 
> forever, ignore that previous paragraph. :)

I've not so tight space constrain, and using 'consolidation via
'virtualfull' i'm just pretty sure that space will not grow... no, better
create a decent set of volumes and go straight!


> Not sure if anyone has answered, but to delete a job, the bconsole `delete 
> jobid=xxx` is what you want. This will delete the 
> Job and Files records from the catalog, and free up any volume(s) used in the 
> job being prun
> ed for re-use as described above.

Good. Thanks.


> If you *really* want to automatically delete failed jobs (I personally don't 
> think this is a good idea), you can use a 
> RunScript in an Admin type Job like:

Why in and 'Admin' job? I've tried to add something like:

        Run After Job = /etc/bacula/scripts/deleteFailedJobs "%c" "%l"

to the backup job; script effectively get run, but seems no parameters get
passed to them.

The script (little modification of yours) simply filter by client name (eg,
delete jobs of that client, not overral failed jobs) and run only for
VirtualFull level jobs.

Rationale: if a correct VirtualFull job happen, i can safely delete also the
failed jobs


> time this Admin job is run will be in the Admin Job's joblog. Alternately, 
> you can trigger the script from cron, and the 
> bconsole output will be in the email that cron sends.

The script run by hand works as expected, but clearly i prefere to run from
bacula.

-- 
dott. Marco Gaiarin                                     GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

                Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
        (cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)




_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to