From 0f30f2e1d92c8030bdb0fcd8b5c5fd1bac3a19bd Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 12 Jan 2011 11:17:20 +0100 Subject: [PATCH] Tweak Base Jobs --- docs/manuals/en/main/dirdconf.tex | 9 +++++- docs/manuals/en/main/main.tex | 1 + docs/manuals/en/main/newfeatures.tex | 45 +--------------------------- 3 files changed, 10 insertions(+), 45 deletions(-) diff --git a/docs/manuals/en/main/dirdconf.tex b/docs/manuals/en/main/dirdconf.tex index 71ecbc7e..d6e68f92 100644 --- a/docs/manuals/en/main/dirdconf.tex +++ b/docs/manuals/en/main/dirdconf.tex @@ -830,7 +830,7 @@ JobDefs { \item [FileSet = \lt{}FileSet-resource-name\gt{}] \index[dir]{FileSet} -\index[dir]{FileSet} +\index[dir]{Directive!FileSet} The FileSet directive specifies the FileSet that will be used in the current Job. The FileSet specifies which directories (or files) are to be backed up, and what options to use (e.g. compression, ...). Only a @@ -838,6 +838,13 @@ JobDefs { details, see the \ilink{FileSet Resource section}{FileSetResource} of this chapter. This directive is required. +\item [Base = \lt{}job-resource-name, ...\gt{}] +\index[dir]{Base} +\index[dir]{Directive!Base} +The Base directive permits to specify the list of jobs that will be used during +Full backup as base. This directive is optional. See the \ilink{Base Job +chapter}{basejobs} for more information. + \item [Messages = \lt{}messages-resource-name\gt{}] \index[dir]{Messages} \index[dir]{Directive!Messages} diff --git a/docs/manuals/en/main/main.tex b/docs/manuals/en/main/main.tex index 884539e3..82959fd4 100644 --- a/docs/manuals/en/main/main.tex +++ b/docs/manuals/en/main/main.tex @@ -75,6 +75,7 @@ \include{disk} \include{pools} \include{migration} +\include{basejob} \include{strategies} \include{autochangers} \include{supportedchangers} diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index f38a7f1d..e6a32c2a 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -120,50 +120,7 @@ Now for the OS part, a Base job will be backed up once, and rather than making 100 copies of the OS, there will be only one. If one or more of the systems have some files updated, no problem, they will be automatically restored. -A new Job directive \texttt{Base=Jobx, Joby...} permits to specify the list of -files that will be used during Full backup as base. - -\begin{verbatim} -Job { - Name = BackupLinux - Level= Base - ... -} - -Job { - Name = BackupZog4 - Base = BackupZog4, BackupLinux - Accurate = yes - ... -} -\end{verbatim} - -In this example, the job \texttt{BackupZog4} will use the most recent version -of all files contained in \texttt{BackupZog4} and \texttt{BackupLinux} -jobs. Base jobs should have run with \texttt{level=Base} to be used. - -By default, Bacula will compare permissions bits, user and group fields, -modification time, size and the checksum of the file to choose between the -current backup and the BaseJob file list. You can change this behavior with the -\texttt{BaseJob} FileSet option. This option works like the \texttt{verify=} -one, that is described in the \ilink{FileSet}{FileSetResource} chapter. - -\begin{verbatim} -FileSet { - Name = Full - Include = { - Options { - BaseJob = pmugcs5 - Accurate = mcs - Verify = pin5 - } - File = / - } -} -\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. +See the \ilink{Base Job Chapter}{basejobs} for more information. This project was funded by Bacula Systems. -- 2.39.5