Maximum Volume Files
Maximum Volume Bytes
Recycle Flag
+ Recycle Pool
Slot
InChanger Flag
Pool
existing pool to the pool specified.
For {\bf Volume from Pool} and {\bf All Volumes from Pool}, the
- following values are updated from the Pool record: Recycle,
+ following values are updated from the Pool record: Recycle, RecyclePool,
VolRetention, VolUseDuration, MaxVolJobs, MaxVolFiles, and MaxVolBytes.
+ (RecyclePool feature is available with bacula 2.1.4 or higher.)
The full form of the update command with all command line arguments is:
\begin{verbatim}
update volume=xxx pool=yyy slots volstatus=xxx VolRetention=ddd
VolUse=ddd MaxVolJobs=nnn MaxVolBytes=nnn Recycle=yes|no
- slot=nnn enabled=n
+ slot=nnn enabled=n recyclepool=zzz
\end{verbatim}
\normalsize
created, changing the value in the bacula-dir.conf file will not change what
is stored for the Volume. To change the value for an existing Volume you
must use the {\bf update} command in the Console.
+
+\label{PoolRecyclePool}
+\item [RecyclePool = \lt{}pool-resource-name\gt{}]
+ \index[dir]{RecyclePool}
+ \index[dir]{Directive!RecyclePool}
+
+ On versions 2.1.4 or greater, Bacula can recycle media in the pool of your
+ choice. The most useful setup is to use \ilink{Scratch}{TheScratchPool}.
\label{PoolRecycle}
\item [Recycle = \lt{}yes|no\gt{}]
\normalsize
\subsection{The Scratch Pool}
+\label{TheScratchPool}
\index[general]{Scratch Pool}
In general, you can give your Pools any name you wish, but there is one
important restriction: the Pool named {\bf Scratch}, if it exists behaves
By properly defining your Volume Pools with appropriate Retention periods,
Bacula can manage the recycling (such as defined above) automatically.
-Automatic recycling of Volumes is controlled by three records in the {\bf
-Pool} resource definition in the Director's configuration file. These three
+Automatic recycling of Volumes is controlled by four records in the {\bf
+Pool} resource definition in the Director's configuration file. These four
records are:
\begin{itemize}
\item AutoPrune = yes
\item VolumeRetention = \lt{}time\gt{}
-\item Recycle = yes
+\item Recycle = yes
+\item RecyclePool = \lt{}APool\gt{} (\textit{This require bacula 2.1.4 or greater})
\end{itemize}
The above three directives are all you need assuming that you fill