From 470d7b670979b78e564bac0a86cc28c17fb72b9c Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Thu, 10 Nov 2011 09:57:38 +0100 Subject: [PATCH] Document new %D --- docs/manuals/en/main/dirdconf.tex | 6 +++++- docs/manuals/en/main/newfeatures.tex | 20 ++++++++++++++++---- 2 files changed, 21 insertions(+), 5 deletions(-) diff --git a/docs/manuals/en/main/dirdconf.tex b/docs/manuals/en/main/dirdconf.tex index c40a6430..32f4558b 100644 --- a/docs/manuals/en/main/dirdconf.tex +++ b/docs/manuals/en/main/dirdconf.tex @@ -1144,7 +1144,8 @@ Console & & & Console command\\ %% = % %b = Job Bytes %c = Client's name - %d = Director's name + %d = Daemon's name (Such as host-dir or host-fd) + %D = Director's name (Also valid on file daemon) %e = Job Exit Status %f = Job FileSet (Only on director side) %F = Job Files @@ -1153,9 +1154,12 @@ Console & & & Console command\\ %j = Unique Job id %l = Job Level %n = Job name + %p = Pool name (Only on director side) %s = Since time %t = Job type (Backup, ...) %v = Volume name (Only on director side) + %w = Storage name (Only on director side) + %x = Spooling enabled? ("yes" or "no") \end{verbatim} \normalsize diff --git a/docs/manuals/en/main/newfeatures.tex b/docs/manuals/en/main/newfeatures.tex index c88a8cd0..456696ec 100644 --- a/docs/manuals/en/main/newfeatures.tex +++ b/docs/manuals/en/main/newfeatures.tex @@ -1,4 +1,16 @@ -\chapter{New Features in 5.2.x} +\chapter{New Features in 5.2.2} +This chapter presents the new features that have been added to the next +Community version of Bacula that is not yet released. + +\section{Additions to RunScript variables} +You can have access to Director name using \%D in your runscript +command. + +\begin{verbatim} +RunAfterJob = "/bin/echo Director=%D +\end{verbatim} + +\chapter{New Features in 5.2.1} This chapter presents the new features that have been added to the current Community version of Bacula that is now released. @@ -8,9 +20,9 @@ is required for the Enterprise version. \section{LZO Compression} -LZO compression was added in the Unix File Daemon. From the user point of view, it -works like the GZIP compression (just replace {\bf compression=GZIP} with {\bf - compression=LZO}). +LZO compression was added in the Unix File Daemon. From the user point of view, +it works like the GZIP compression (just replace {\bf compression=GZIP} with +{\bf compression=LZO}). For example: \begin{verbatim} -- 2.39.5