From: Eric Bollengier Date: Fri, 24 Apr 2015 13:46:41 +0000 (+0200) Subject: Add small note on BaseJobs and pruning X-Git-Tag: Release-7.2.0~7 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=06fe2e07ed2158b55bb7642120471630355197ac;p=bacula%2Fdocs Add small note on BaseJobs and pruning --- diff --git a/docs/manuals/en/main/basejob.tex b/docs/manuals/en/main/basejob.tex index 94d8822c..cea5653c 100644 --- a/docs/manuals/en/main/basejob.tex +++ b/docs/manuals/en/main/basejob.tex @@ -62,4 +62,58 @@ FileSet { \end{verbatim} \textbf{Important note}: The current implementation doesn't permit to scan -volume with \textbf{bscan}. The result wouldn't permit to restore files easily. \ No newline at end of file +volume with \textbf{bscan}. The result wouldn't permit to restore files +easily. It is recommended to not prune File or Job records with Basejobs. + +\smallskip + +Added in version 8.0.5, the new ``M'' option letter for the Accurate directive +in the FileSet Options block, which allows comparing the modification time and/or +creation time against the last backup timestamp. This is in contrast to the +existing options letters ``m'' and/or ``c'', mtime and ctime, which are checked +against the stored catalog values, that could vary accross different machines +when using the BaseJob feature. + +The advantage of the new ``M'' option letter for Jobs that refer to BaseJobs is +that it will backup files based on the last backup time, which is more useful, +because the mtime/ctime timestamps may differ on various Clients, causing +unnecessary files to be backed up. + +\begin{lstlisting} + Job { + Name = USR + Level = Base + FileSet = BaseFS + ... + } + + Job { + Name = Full + FileSet = FullFS + Base = USR + ... + } + + FileSet { + Name = BaseFS + Include { + Options { + Signature = MD5 + } + File = /usr + } + } + + FileSet { + Name = FullFS + Include { + Options { + Accurate = Ms # check for mtime/ctime and Size + Signature = MD5 + } + File = /home + File = /usr + } + } +\end{lstlisting} +>>>>>>> fdd23df... Add small note on BaseJobs and pruning