]> git.sur5r.net Git - bacula/bacula/blob - bacula/examples/devices/DVD.conf
Add more example SD Device configurations
[bacula/bacula] / bacula / examples / devices / DVD.conf
1 #
2 # A DVD device
3 #
4 Device {
5   Name = "DVD Writer"
6   Media Type = DVD
7   Device Type = DVD
8   Archive Device = /dev/hdc
9   LabelMedia = yes;                   # lets Bacula label unlabeled media
10   Random Access = Yes;
11   AutomaticMount = yes;               # when device opened, read it
12   RemovableMedia = yes;
13   AlwaysOpen = no;
14   MaximumPartSize = 800M;
15   RequiresMount = yes;
16   MountPoint = /mnt/cdrom;
17   MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
18   UnmountCommand = "/bin/umount %m";
19   SpoolDirectory = /tmp/backup;
20   WritePartCommand = "@scriptdir@/dvd-handler %a write %e %v"
21   FreeSpaceCommand = "@scriptdir@/dvd-handler %a free"
22 }