explain how to write to disk, but was expanded to include volume
management. It is, however, still quite a good chapter to read.
+\label{testbackup}
+\section{Can i use Dummy device to test backup?}
+ Yes, to have a {\sl Virtual} device which just drop data, you can use a
+ Fifo Device (see \ilink{Stored configuration}{SetupFifo}), and you have to
+ run this script. It's useful to test backup.
+\footnotesize
+\begin{verbatim}
+#!/bin/sh
+
+[! -p /tmp/fifo ] && mkfifo /tmp/fifo
+
+while cat /tmp/fifo > /dev/null
+do
+ true # do nothing
+done
+\end{verbatim}
+\normalsize
+
\label{bigfiles}
\section{Can Bacula Backup and Restore Files Greater than 2 Gigabytes?}
\item [Can Bacula Backup and Restore Files Greater than 2 Gigabytes in
If you want to write into more than one directory (i.e. to spread the load to
different disk drives), you will need to define two Device resources, each
containing an Archive Device with a different directory.
-
+ \label{SetupFifo}
In addition to a tape device name or a directory name, Bacula will accept the
name of a FIFO. A FIFO is a special kind of file that connects two programs
via kernel memory. If a FIFO device is specified for a backup operation, you
set it to {\bf No}. Since a FIFO is a one way device, Bacula will not attempt
to read a label of a FIFO device, but will simply write on it. To create a
FIFO Volume in the catalog, use the {\bf add} command rather than then {\bf
- label} command to avoid attempting to write a label.
-
+ label} command to avoid attempting to write a label.
+
+\footnotesize
+\begin{verbatim}
+Device {
+ Name = FifoStorage
+ Media Type = Fifo
+ Device Type = Fifo
+ Archive Device = /tmp/fifo
+ LabelMedia = yes
+ Random Access = no
+ AutomaticMount = no
+ RemovableMedia = no
+ MaximumOpenWait = 60
+ AlwaysOpen = no
+}
+\end{verbatim}
+\normalsize
+
During a restore operation, if the Archive Device is a FIFO, Bacula will
attempt to read from the FIFO, so you must have an external program that
writes into the FIFO. Bacula will wait {\bf MaximumOpenWait} seconds for the