Thanks Radoslaw. I was not aware that (1) client definitions in bacula-dir.conf could specify their own file/job retention and pruning values and that (2) bacula already had this default values for clients:
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
Problem solved!
Cheers,
Rodrigo
From: Radosław Korzeniewski [mailto:radoslaw AT korzeniewski DOT net]
Sent: Tuesday, May 31, 2011 8:55 AM
To: rodrigo.ferraz AT pop.com DOT br
Cc: bacula-users AT lists.sourceforge DOT net
Subject: Re: [Bacula-users] How to disable Auto Pruning of Jobs older than 6 months.
Hello,
2011/5/31 Rodrigo Ferraz <rofz55 AT gmail DOT com>
-> 30-May 23:25 br01 JobId 1227: Begin pruning Jobs older than 6 months .
-> 30-May 23:26 br01 JobId 1227: Pruned 1 Job for client mx01 from catalog.
-> 30-May 23:26 br01 JobId 1227: Begin pruning Jobs.
-> 30-May 23:26 br01 JobId 1227: No Files found to prune.
-> 30-May 23:26 br01 JobId 1227: End auto prune.
Pool {
Name = Mensal
Pool Type = Backup
Recycle = no
AutoPrune = no
Volume Use Duration = 5 days
Volume Retention = 5 years
LabelFormat = "M${Month:p/2/0/r}${Year}"
}
Check your config with console:
* show client=mx01
* show pool=Mensal
and correct it respectively.
best regards
--
Radosław Korzeniewski
radoslaw AT korzeniewski DOT net