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