\index[sd]{Resource!Autochanger}
The Autochanger resource supports single or multiple drive
-autochangers by grouping one or more Device resources
+autochangers by grouping one or more Device resources
into one unit called an autochanger in Bacula (often referred to
as a "tape library" by autochanger manufacturers).
conf file, and your Director's Storage directives that want to
use an Autochanger {\bf must} refer to the Autochanger resource name.
In previous versions of Bacula, the Director's Storage directives
-referred directly to Device resources that were autochangers.
+referred directly to Device resources that were autochangers.
In version 1.38.0 and later, referring directly to Device resources
will not work for Autochangers.
\end{description}
-The following is an example of a valid Autochanger resource definition:
+The following is an example of a valid Autochanger resource definition:
\footnotesize
-\begin{verbatim}
+\begin{lstlisting}
Autochanger {
Name = "DDS-4-changer"
Device = DDS-4-1, DDS-4-2, DDS-4-3
Autoselect = no
...
}
-\end{verbatim}
+\end{lstlisting}
\normalsize
Please note that it is important to include the {\bf Autochanger = yes} directive
for example, you want to reserve it for restores, you can add the directive:
\footnotesize
-\begin{verbatim}
+\begin{lstlisting}
Autoselect = no
-\end{verbatim}
+\end{lstlisting}
\normalsize
to the Device resource for that drive. In that case, Bacula will not automatically