bacula-sd.conf:
Device {
Name = DVDRW
Media Type = DVD
Archive Device = /dev/hda
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = yes;
AlwaysOpen = no;
MaximumPartSize = 100M;
RequiresMount = yes;
MountPoint = /mnt/cdrom;
MountCommand = "/bin/mount -t iso9660 -o ro %a %m"
UnmountCommand = "/bin/umount %m";
SpoolDirectory = /var/spool/bacula;
WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v";
FreeSpaceCommand = "/etc/bacula/dvd-handler %a free";
}
bacula-dir.conf:
Storage {
Name = DVDRW
Address = ***.***.***.***
SDPort = 9103
Password = "********"
Device = DVDRW
Media Type = DVD
}
Pool {
Name = DVDPool
Pool Type = Backup
Recycle = No
AutoPrune = Yes
Volume Retention = 3 months
Maximum Volume Jobs = 1
Maximum Volume Bytes = 4500000000
Label Format = DVD-
}