From 67208f89f05016b579953b9a2caafab9e52ed679 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Fri, 3 May 2013 20:20:40 +0200 Subject: [PATCH] Add documentation about prune expired volume to newfeature --- docs/manuals/en/main/newbsfeatures.tex | 28 ++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/docs/manuals/en/main/newbsfeatures.tex b/docs/manuals/en/main/newbsfeatures.tex index 85cc627a..2e86ab82 100644 --- a/docs/manuals/en/main/newbsfeatures.tex +++ b/docs/manuals/en/main/newbsfeatures.tex @@ -62,6 +62,34 @@ use \texttt{alljobid=} keyword instead of \texttt{jobid=}. run job=Vbackup alljobid=1-3,6-8 level=VirtualFull \end{lstlisting} +\subsection{New Prune ``Expired'' Volume Command} + +In Bacula Enterprise 6.4, this is now possible to prune all volumes (from a +pool, or globally) that are ``expired''. This option can be scheduled after or +before the backup of the Catalog and can be combined with the Truncate On Purge +option. This option can be used instead of the \texttt{manual\_prune.pl} +script. + +\begin{lstlisting} +* prune expired volumes + +* prune expired volumes pool=FullPool +\end{lstlisting} + +To schedule this option automatically, it can be added to the BackupCatalog job +definition. + +\begin{lstlisting} + Job { + Name = CatalogBackup + ... + RunScript { + Console = ``prune expired volume yes'' + RunsWhen = Before + } + } +\end{lstlisting} + \section{Bacula Enterprise 6.2.3} \subsection{New Job Edit Code \%P} -- 2.39.5