\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.
+ Fifo Device (see \ilink{Stored configuration}{SetupFifo}).
+ 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
+Device {
+ Name = NULL
+ Media Type = NULL
+ Device Type = Fifo
+ Archive Device = /dev/null
+ LabelMedia = yes
+ Random Access = no
+ AutomaticMount = no
+ RemovableMedia = no
+ MaximumOpenWait = 60
+ AlwaysOpen = no
+}
\end{verbatim}
\normalsize