From 807ee6fd3e330ca36f5fe80cda93b31f39ea3592 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 4 May 2007 17:35:43 +0000 Subject: [PATCH] ebl update regexwhere doc --- docs/manual/dirdconf.tex | 49 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/docs/manual/dirdconf.tex b/docs/manual/dirdconf.tex index 980b33bd..f0728db4 100644 --- a/docs/manual/dirdconf.tex +++ b/docs/manual/dirdconf.tex @@ -1354,6 +1354,55 @@ will be sent to the Director. /tmp/bacula-restores}. This is to prevent accidental overwriting of your files. +\item [Add Prefix = \lt{}directory\gt{}] + \label{confaddprefix} + \index[dir]{AddPrefix} + \index[dir]{Directive!AddPrefix} + + This directive applies only to a Restore job and specifies a prefix to the + directory name of all files being restored. This will use \ilink{File + Relocation}{filerelocation} feature (need bacula 2.2.0 or later). + +\item [Add Suffix = \lt{}extention\gt{}] + \index[dir]{AddSuffix} + \index[dir]{Directive!AddSuffix} + + This directive applies only to a Restore job and specifies a suffix to all + files being restored. This will use \ilink{File Relocation}{filerelocation} + feature (need bacula 2.2.0 or later). + + Using \texttt{Add Suffix=.old}, \texttt{/etc/passwd} will be restored to + \texttt{/etc/passwsd.old} + +\item [Strip Prefix = \lt{}directory\gt{}] + \index[dir]{StripPrefix} + \index[dir]{Directive!StripPrefix} + + This directive applies only to a Restore job and specifies a prefix to remove + from directory name of all files being restored. This will use \ilink{File + Relocation}{filerelocation} feature (need bacula 2.2.0 or later). + + Using \texttt{Strip Prefix=/etc}, \texttt{/etc/passwd} will be restored to + \texttt{/passwd} + + Under Windows, if you want to restore \texttt{c:/files} to \texttt{d:/files}, + you can use : +\begin{verbatim} + Strip Prefix = c: + Add Prefix = d: +\end{verbatim} + +\item [RegexWhere = \lt{}expressions\gt{}] + \index[dir]{RegexWhere} + \index[dir]{Directive!RegexWhere} + + This directive applies only to a Restore job and specifies a regex filename + manipulation of all files being restored. This will use \ilink{File + Relocation}{filerelocation} feature (need bacula 2.2.0 or later). + + For more informations about how use this option, see + \ilink{this}{useregexwhere}. + \item [Replace = \lt{}replace-option\gt{}] \index[dir]{Replace} \index[dir]{Directive!Replace} -- 2.39.5