From: Eric Bollengier Date: Mon, 8 Sep 2008 19:56:42 +0000 (+0000) Subject: ebl Add notes about UseStatistics X-Git-Tag: Release-3.0.0~1005 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e6d1dd776c05e3bb9b7e822b3a981565e6b759b4;p=bacula%2Fdocs ebl Add notes about UseStatistics --- diff --git a/docs/manuals/en/concepts/newfeatures.tex b/docs/manuals/en/concepts/newfeatures.tex index 6ca44924..8592624a 100644 --- a/docs/manuals/en/concepts/newfeatures.tex +++ b/docs/manuals/en/concepts/newfeatures.tex @@ -364,5 +364,41 @@ may remove it before the final release. The bconsole {\bf status dir} output has been enhanced to indicate Storage daemon job spooling and despooling activity. +\item [Statistics Enhancements] + +If you (or you boss) want to have statistics on your backups, you could use +some SQL stuffs on the Job table to report how many: +\begin{itemize} +\item jobs have run +\item jobs have been successful +\item files have been backuped +\item ... +\end{itemize} + +Theses statistics are accurate only if your job retention is greater than +your statistic period. Ie, if jobs are purged from the catalog, you won't be +able to use them. + +Now, you can configure bacula to copy Job records to a new JobStat table +with the \textbf{Use Statistics = \lt{}yes|no\gt{}} Job directive. + +The \texttt{Statistics Retention = \lt{}time\gt{}} director directive defines +the length of time that Bacula will keep statistics job records in the Catalog +database after the Job End time. (In \texttt{JobStat} table) When this time +period expires, and if user runs \texttt{prune stats} command, Bacula will +prune (remove) Job records that are older than the specified period. + +Theses statistics records aren't use for restore purpose, but mainly for +capacity planning, billings, etc. + +\begin{verbatim} +Job { + Name = ImportantBackup + Client = rufus-fd + ... + Use Statistics = yes +} +\end{verbatim} + \end{description}