a certain size or, at your option, at the end of a Job, Bacula
will transfer the image from the spool directory to the
DVD. The actual work of transferring the image is done
-by a script {\bf dvd-writepart}, and the heart of that
+by a script {\bf dvd-handler}, and the heart of that
script is a program called {\bf growisofs} which allows
-creating or adding to a DVD ISO filesystem. growisofs is
-normally found in the {\bf dvd+rw-tools} package or rpm.
-You must have it loaded on your system for DVD writing to
-work.
+creating or adding to a DVD ISO filesystem.
+
+You must have {\bf dvd+rw-tools} loaded on your system for DVD writing to
+work. Please note that the original {\bf dvd+rw-tools} package does {\bf NOT}
+work with Bacula. You must apply a patch which can be found in the {\bf patches} directory of Bacula sources.
The fact that Bacula cannot use the OS to write directly
to the DVD makes the whole process a bit more error prone than
and with 0 otherwise, and \%v with the current part filename.
For a DVD, you will most frequently specify the Bacula supplied {\bf
- dvd-writepart} script as follows:
+ dvd-handler} script as follows:
\footnotesize
\begin{verbatim}
- Write Part Command = "/path/dvd-writepart %e %a %v"
+ Write Part Command = "/path/dvd-handler %a write %e %v"
\end{verbatim}
\normalsize
Where {\bf /path} is the path to your scripts install directory, and
- dvd-writepart is the Bacula supplied script file.
+ dvd-handler is the Bacula supplied script file.
This command will already be present, but commented out,
in the default bacula-sd.conf file. To use it, simply remove
the comment (\#) symbol.
the first part, and with 0 otherwise, and \%v with the current part filename.
For a DVD, you will most frequently specify the Bacula supplied {\bf
- dvd-freespace} script as follows:
+ dvd-handler} script as follows:
\footnotesize
\begin{verbatim}
- Free Space Command = "/path/dvd-freespace %a"
+ Free Space Command = "/path/dvd-handler %a free"
\end{verbatim}
\normalsize
Where {\bf /path} is the path to your scripts install directory, and
dvd-freespace is the Bacula supplied script file.
If you want to specify your own command, please look at the code in
- dvd-freespace to see what output Bacula expects from this command.
+ dvd-handler to see what output Bacula expects from this command.
This command will already be present, but commented out,
in the default bacula-sd.conf file. To use it, simply remove
the comment (\#) symbol.
\multicolumn{1}{c| }{X } \\
\hline {zlib } & \multicolumn{1}{c| }{- } & \multicolumn{1}{c| }{- } &
\multicolumn{1}{c| }{X } \\
- \hline {wxWidgits } & \multicolumn{1}{c| }{- } & \multicolumn{1}{c| }{- } &
+ \hline {wxWidgets } & \multicolumn{1}{c| }{- } & \multicolumn{1}{c| }{- } &
\multicolumn{1}{c| }{X }
\\ \hline
\item If you want to enable command line editing and history, you will need
to have /usr/include/termcap.h and either the termcap or the ncurses library
loaded (libtermcap-devel or ncurses-devel).
-\item If you want to use DVD as backup medium, you will need to download and
- install the \elink{dvd+rw-tools}{http://fy.chalmers.se/~appro/linux/DVD+RW/}.
+\item If you want to use DVD as backup medium, you will need to download the
+ \elink{dvd+rw-tools 5.21.4.10.8}{http://fy.chalmers.se/~appro/linux/DVD+RW/},
+ apply the \elink{patch}{http://cvs.sourceforge.net/viewcvs.py/*checkout*/bacula/bacula/patches/dvd+rw-tools-5.21.4.10.8.bacula.patch}
+ to make these tools compatible with Bacula, then compile and install them.
+ Do not use the dvd+rw-tools provided by your distribution, they will not work
+ with Bacula.
\end{itemize}
and with 0 otherwise, and \%v with the current part filename.
For a DVD, you will most frequently specify the Bacula supplied {\bf
- dvd-writepart} script as follows:
+ dvd-handler} script as follows:
\footnotesize
\begin{verbatim}
- Write Part Command = "/path/dvd-writepart %e %a %v"
+ Write Part Command = "/path/dvd-handler %a write %e %v"
\end{verbatim}
\normalsize
Where {\bf /path} is the path to your scripts install directory, and
- dvd-writepart is the Bacula supplied script file.
+ dvd-handler is the Bacula supplied script file.
This command will already be present, but commented out,
in the default bacula-sd.conf file. To use it, simply remove
the comment (\#) symbol.
the first part, and with 0 otherwise, and \%v with the current part filename.
For a DVD, you will most frequently specify the Bacula supplied {\bf
- dvd-freespace} script as follows:
+ dvd-handler} script as follows:
\footnotesize
\begin{verbatim}
- Free Space Command = "/path/dvd-freespace %a"
+ Free Space Command = "/path/dvd-handler %a free"
\end{verbatim}
\normalsize
Where {\bf /path} is the path to your scripts install directory, and
- dvd-freespace is the Bacula supplied script file.
+ dvd-handler is the Bacula supplied script file.
If you want to specify your own command, please look at the code of
- dvd-freespace to see what output Bacula expects from this command.
+ dvd-handler to see what output Bacula expects from this command.
This command will already be present, but commented out,
in the default bacula-sd.conf file. To use it, simply remove
the comment (\#) symbol.
# MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
# UnmountCommand = "/bin/umount %m";
# SpoolDirectory = /tmp/backup;
-# WritePartCommand = "/etc/bacula/dvd-writepart %e %a %v"
-# FreeSpaceCommand = "/etc/bacula/dvd-freespace %a"
+# WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
+# FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
#}
#
# A very old Exabyte with no end of media detection
-1.37.41 (05 October 2005)
+1.37.41 (16 October 2005)