From: Eric Bollengier Date: Mon, 7 Sep 2009 14:42:22 +0000 (+0000) Subject: ebl document accurate= and basejob= fileset options X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=9bbd90ebf5daaf65613d07a6adc097f0ac3fe40f;p=bacula%2Fdocs ebl document accurate= and basejob= fileset options --- diff --git a/docs/manuals/en/concepts/newfeatures.tex b/docs/manuals/en/concepts/newfeatures.tex index d5c6d0f1..0adadbd5 100644 --- a/docs/manuals/en/concepts/newfeatures.tex +++ b/docs/manuals/en/concepts/newfeatures.tex @@ -97,6 +97,71 @@ FileSet { This project was funded by Bacula Systems. + +\section{Accurate Fileset options} +\label{sec:accuratefileset} + +In previous version, the accurate code was using file time creation and +modification to determine if a file was modified or not. Now you can specify +witch attribute to use (time, size, checksum, permission, owner, group, +\dots). + +\begin{verbatim} +FileSet { + Name = Full + Include = { + Options { + Accurate = mcs5 + Verify = pin5 + } + File = / + } +} +\end{verbatim} + +\begin{description} +\item {\bf i} + compare the inodes + +\item {\bf p} + compare the permission bits + +\item {\bf n} + compare the number of links + +\item {\bf u} + compare the user id + +\item {\bf g} + compare the group id + +\item {\bf s} + compare the size + +\item {\bf a} + compare the access time + +\item {\bf m} + compare the modification time (st\_mtime) + +\item {\bf c} + compare the change time (st\_ctime) + +\item {\bf d} + report file size decreases + +\item {\bf 5} + compare the MD5 signature + +\item {\bf 1} + compare the SHA1 signature +\end{description} + +\textbf{Important note:} If you decide to use checksum in Accurate jobs, the +File Daemon will have to read all files even if they won't be saved. It +increases the I/O load, but also the security. By default, Bacula will +check modification/creation time and size. + \section{Bvfs API} \label{sec:bvfs} diff --git a/docs/manuals/en/install/fileset.tex b/docs/manuals/en/install/fileset.tex index f8a087f2..e8afbc96 100644 --- a/docs/manuals/en/install/fileset.tex +++ b/docs/manuals/en/install/fileset.tex @@ -275,6 +275,22 @@ The directives within an Options resource may be one of the following: bytes per file to your catalog. We strongly recommend that this option or the SHA1 option be specified as a default for all files. + +\item[basejob=\lt{}options\gt{}] +\index[dir]{basejob} +\index[dir]{Directive!basejob} + +The options letters specified are used when running a {\bf Backup Level=Full} +with BaseJobs. The options letters are the same than in the \textbf{verify=} +option below. + +\item[accurate=\lt{}options\gt{}] +\index[dir]{accurate} +\index[dir]{Directive!accurate} + The options letters specified are used when running a {\bf Backup + Level=Incremental/Differential} in Accurate mode. The options + letters are the same than in the \textbf{verify=} option below. + \item [verify=\lt{}options\gt{}] \index[dir]{verify} \index[dir]{Directive!verify}