]> git.sur5r.net Git - bacula/docs/commitdiff
Add documentation about prune expired volume to newfeature
authorEric Bollengier <eric@baculasystems.com>
Fri, 3 May 2013 18:20:40 +0000 (20:20 +0200)
committerEric Bollengier <eric@baculasystems.com>
Fri, 3 May 2013 18:20:40 +0000 (20:20 +0200)
docs/manuals/en/main/newbsfeatures.tex

index 85cc627a10c5a9157d13676818ba661accfac067..2e86ab822e420cfa63c36f12ee7b5c3e1fbcbfe0 100644 (file)
@@ -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}