From c6785f64817f2c282d3d32a34256bfdf059cd5ec Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Mon, 8 Sep 2008 20:17:58 +0000 Subject: [PATCH] ebl improve doc about multiple runscript --- docs/manuals/en/concepts/newfeatures.tex | 35 +++++++++++++++++------- 1 file changed, 25 insertions(+), 10 deletions(-) diff --git a/docs/manuals/en/concepts/newfeatures.tex b/docs/manuals/en/concepts/newfeatures.tex index 8592624a..6fc21f76 100644 --- a/docs/manuals/en/concepts/newfeatures.tex +++ b/docs/manuals/en/concepts/newfeatures.tex @@ -316,12 +316,12 @@ The {\bf status slots storage=\lt{}storage-name\gt{}} command displays autochang \footnotesize \begin{verbatim} - Slot | Volume Name | Status | Media Type | Pool | Loaded | -------+-----------------+----------+-------------------+----------------+---------| - 1 | 00001 | Append | DiskChangerMedia | Default | 0 | - 2 | 00002 | Append | DiskChangerMedia | Default | 0 | - 3*| 00003 | Append | DiskChangerMedia | Scratch | 0 | - 4 | | | | | 0 | + Slot | Volume Name | Status | Media Type | Pool | Loaded | +------+---------------+----------+-------------------+------------+---------| + 1 | 00001 | Append | DiskChangerMedia | Default | 0 | + 2 | 00002 | Append | DiskChangerMedia | Default | 0 | + 3*| 00003 | Append | DiskChangerMedia | Scratch | 0 | + 4 | | | | | 0 | \end{verbatim} \normalsize @@ -332,10 +332,12 @@ command to synchronize autochanger content with your catalog. \index[general]{Misc New Features} \begin{description} \item [Virtual Tape Emulation] -We now have a Virtual Tape emulator that allows us to run though 99.9\% of the -tape code but actually reading and writing to a disk file. This feature is most -useful in testing. -It is enabled by using {\bf Device Type = vtape} in the Storage daemon's Device + +We now have a Virtual Tape emulator that allows us to run though 99.9\% of +the tape code but actually reading and writing to a disk file. Used with the +\textbf{disk-changer} script, you can now emulate an autochanger with 10 drives +and 700 slots. This feature is most useful in testing. It is enabled +by using {\bf Device Type = vtape} in the Storage daemon's Device directive. This feature is only implemented on Linux machines. \item [Bat Enhancements] @@ -351,6 +353,19 @@ The {\bf RunScript} resource has been enhanced to permit multiple commands per RunScript. Simply specify multiple {\bf Command} directives in your RunScript. +\begin{verbatim} +Job { + Name = aJob + RunScript { + Command = "/bin/echo test" + Command = "/bin/echo an other test" + Command = "/bin/echo 3 commands in the same runscript" + RunsWhen = Before + } + ... +} +\end{verbatim} + A new Client RunScript {\bf RunsWhen} keyword of {\bf AfterVSS} has been implemented, which runs the command after the Volume Shadow Copy has been made. -- 2.39.5