\texttt{/.snap/home/eric/mbox}, which can complicate restores. If you use
\textbf{where=/tmp}, the file will be restored to
\texttt{/tmp/.snap/home/eric/mbox} and you will have to move the file to
-\texttt{/home/eric/mbox.bkp} by hand. In this case, you could use
+\texttt{/home/eric/mbox.bkp} by hand.
+
+However, case, you could use the
\textbf{strip\_prefix=/.snap} and \textbf{add\_suffix=.bkp} options and
Bacula will restore the file to its original location -- that is
\texttt{/home/eric/mbox}.
Parameters to modify:
1: Level
2: Storage
-..
+ ...
10: File Relocation
-..
+ ...
Select parameter to modify (1-12):
\end{verbatim}
-\subsection{RegexWhere format}
+\subsection{RegexWhere Format}
The format is very close to that used by sed or Perl (\texttt{s/replace this/by
that/}) operator. A valid regexwhere expression has three fields :
Each field is delimited by a separator specified by the user as the first
character of the expression. The separator can be one of the following:
\begin{verbatim}
-<separator-keyword> = / ! ; % : , ~ # = &
+<separator-keyword> = / ! ; % : , ~ # = &
\end{verbatim}
You can use several expressions separated by a commas.
\subsection*{Examples}
-\begin{tabular}{|c|c|c|l}
+\begin{tabular}{|c|c|c|l|}
\hline
-Orignal filename & Computed filename & RegexWhere & Comments \\
+Orignal filename & New filename & RegexWhere & Comments \\
\hline
\hline
-\texttt{c:/system.ini} & \texttt{c:/system.old.ini} & \texttt{/.ini\$/.old.ini/} & use \$ as end of filename\\
+\texttt{c:/system.ini} & \texttt{c:/system.old.ini} & \texttt{/.ini\$/.old.ini/} & \$ matches end of name\\
\hline
-\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata} & \texttt{/prod/rect/,/pdata/rdata/} & using two regexp\\
+\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata} & \texttt{/prod/rect/,/pdata/rdata/} & uses two regexp\\
\hline
-\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata} & \texttt{!/prod/!/rect/!,/pdata/rdata/} & using \texttt{!} instead of \texttt{/}\\
+\texttt{/prod/u01/pdata/} & \texttt{/rect/u01/rdata} & \texttt{!/prod/!/rect/!,/pdata/rdata/} & use \texttt{!} as separator\\
\hline
-\texttt{C:/WINNT} & \texttt{d:/WINNT} & \texttt{/c:/d:/i} & using case-insensitive pattern matching \\
+\texttt{C:/WINNT} & \texttt{d:/WINNT} & \texttt{/c:/d:/i} & case insensitive pattern match \\
\hline
\end{tabular}