Bacula-users

Re: [Bacula-users] Pruning Jobs older than 6 months

2011-07-20 10:21:11
Subject: Re: [Bacula-users] Pruning Jobs older than 6 months
From: Rickifer Barros <rickiferbarros AT gmail DOT com>
To: jma AT schaubroeck DOT be
Date: Wed, 20 Jul 2011 11:17:38 -0300
Also, I could set up for my Jobs and Files Retention the same that Volume Retention without problems, is that right?

On Wed, Jul 20, 2011 at 11:15 AM, Rickifer Barros <rickiferbarros AT gmail DOT com> wrote:
Thanks Jeremy...I'll do that.


On Wed, Jul 20, 2011 at 11:13 AM, Jeremy Maes <jma AT schaubroeck DOT be> wrote:

Op 20/07/2011 16:03, Rickifer Barros schreef:
Ok...but I don't want to disable the pruning entirely...I want Bacula do the pruning only according my settings. If I set the Autoprune=no Will do Bacula pruning jobs according the Volume Retention? Because I have configured the Volume Retentions but not the Job Retentions.

Then you will have to set a Job retention time for your clients or pools that is very large so it will never affect your jobs (100 years for example). If you don't explicitly set this it'll just take the default of 180 days (aka 6 months).
If your Volume retention is shorter than 6 months it won't make any difference though because job records are also pruned when the volume they're on is pruned.

The same goes for File Retention, which has a default value of 60 days (see the manual). If your volume retention is set higher I'd advise setting this to a very large time just like the job retention.

If you set "Autoprune = no" bacula will do no pruning at all, so you'll want to keep this at "Autoprune = yes".

Regards,
Jeremy


On Wed, Jul 20, 2011 at 10:48 AM, Jeremy Maes <jma AT schaubroeck DOT be> wrote:
Op 20/07/2011 15:20, Rickifer Barros schreef:

Hello Guys...

Why Bacula always after each Job try to prune Jobs older than 6 months even when there's no settings to this?

20-Jul 10:01 test-dir JobId 96: Begin pruning Jobs older than 6 months .
20-Jul 10:01 test-dir JobId 96: No Jobs found to prune.
20-Jul 10:01 test-dir JobId 96: Begin pruning Jobs.
20-Jul 10:01 test-dir JobId 96: No Files found to prune.
20-Jul 10:01 test-dir JobId 96: End auto prune.

Thanks.

If I'm not mistaken 6 months is the default value used for pruning when you don't define any retention periods.
If you want to disable pruning entirely you need to add an "Autoprune = no" directive to your pool configs.

Kind regards,
Jeremy

**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm

**** DISCLAIMER ****
http://www.schaubroeck.be/maildisclaimer.htm



------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users