From: Eric Bollengier Date: Tue, 14 Sep 2010 09:01:05 +0000 (+0200) Subject: Add notes on new pruning code X-Git-Tag: Release-5.2.1~83 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e05489e3cf5bcbe165a78b2d7370446dfd483633;p=bacula%2Fdocs Add notes on new pruning code --- diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index 4b5a081c..a1b35039 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -3,6 +3,30 @@ This chapter presents the new features that have been added to the current version of Bacula that is under development. This version will be released at some later date, probably near the end of 2010. +\section{Changes in the pruning algorithm} + +We rewrote the job pruning algorithm in this version. Previously, in some users +reported that the pruning process at the end of jobs was very long. It should +not be longer the case. Now, Bacula won't prune automatically a Job if this +particular Job is needed to restore data. Example: + +\begin{verbatim} +JobId: 1 Level: Full +JobId: 2 Level: Incremental +JobId: 3 Level: Incremental +JobId: 4 Level: Differential +.. Other incrementals up to now +\end{verbatim} + +In this example, if the Job Retention defined in the Pool or in the Client +resource causes that Jobs with Jobid in 1,2,3,4 can be pruned, Bacula will +detect that JobId 1 and 4 are essential to restore data at the current state +and will prune only JobId 2 and 3. + +\texttt{Important}, this change affect only the automatic pruning step after a +Job and the \texttt{prune jobs} Bconsole command. If a volume expires after the +\texttt{VolumeRetention} period, important jobs can be pruned. + \section{Ability to Verify any specified Job} You now have the ability to tell Bacula which Job should verify instead of automatically verify just the last one.