Thanks... Yeah, I'm leaning towards a post or pre job script that actually prunes (or more likely purges) the file records I need to jettison.

Stephen


On 4/7/18 3:38 AM, Heitor Faria wrote:
Hello Stefaphen,

I believe the answer is no, but as a happy bacula user for 10 years I am
somewhat surprised at the lack of flexibility.

Alternative solutions with proprietary catalog data are much more inflexible.

The scenarios is this:  A fileserver (1 client) with dozens of large
(size-wise) filesystems (12 jobs), but a couple of those filesystems are
large (filecount-wise).  We would really like to set different file
retention periods on those high-filecount jobs (50+million), because
they are forcing the Catalog to go beyond our size constraints.
However, we also don't want to lose the file retention longevity of that
client's other jobs (5 years).  The only hack I can think of is to
define 2 clients for 1 actual host, but I'd rather not go down that
route, because tracking jobs and associating them, especially over
multiple years, will get that much more tricky.

File & Job Retention can be set in Pool resource instead of Client one.
You can also try to modify the prior used manual Bacula pruning Perl script to only 
prune files you need and not delete the whole job 
<http://blog.bacula.org/whitepapers/manual_prune.pl>.
Finally, you can even use dynamically generated Filesets with lower or greater file 
sizes to automate their backup distribution. 
<http://bacula.us/bacula-fileset-on-client-configuration-remote-fileset/>

Ideas?

thanks,
Stephen
--

Regards,


--
Stephen Thompson               Berkeley Seismo Lab
step...@seismo.berkeley.edu    215 McCone Hall
Office: 510.664.9177           University of California
Remote: 510.214.6506 (Tue)     Berkeley, CA 94720-4760

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to