# bacula-sd.conf
#
# Default Bacula Storage Daemon Configuration file
#
# WARNING: 
# This file is generated from /opt/lysator/etc/bacula/bacula-dir.conf
# Edit the source file and then run 'make'.
#

Storage {                             # definition of myself
  Name = Baccus
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/var/bacula/working"
  Pid Directory = "/var/run"
  Maximum Concurrent Jobs = 20
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = Baccus
  Password = "KLUwcp1ZTeIc0x265UPrpWW28t7d7cRXmhOqyHxRr"
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType. 
#

Device {
  Name = File-0
  Media Type = File
  Archive Device = /var/bacula/storage/file-0
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

Device {
  Name = DLT-0
  Media Type = DLT7000
  Archive Device = /dev/rmt/0cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 0
  Maximum Spool Size = 4gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-0
}

Device {
  Name = DLT-1
  Media Type = DLT7000
  Archive Device = /dev/rmt/1cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 1
  Maximum Spool Size = 2gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-1
}

Device {
  Name = DLT-2
  Media Type = DLT7000
  Archive Device = /dev/rmt/2cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 2
  Maximum Spool Size = 2gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-2
}

Device {
  Name = DLT-3
  Media Type = DLT7000
  Archive Device = /dev/rmt/3cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 3
  Maximum Spool Size = 2gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-3
}

Device {
  Name = DLT-4
  Media Type = DLT7000
  Archive Device = /dev/rmt/4cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 4
  Maximum Spool Size = 2gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-4
}

Device {
  Name = DLT-5
  Media Type = DLT7000
  Archive Device = /dev/rmt/5cbn
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes;
  Changer Device = /dev/scsi/changer/c1t0d0
  Changer Command = "/opt/bacula/etc/mtx-changer %c %o %S %a %d"
  Drive Index = 5
  Maximum Spool Size = 2gb
  Maximum Job Spool Size = 1gb
  Spool Directory = /var/bacula/spool/dlt-5
}

# 
# Send all messages to the Director, 
# mount messages also are sent to the email address
#
Messages {
  Name = Standard
  director = Baccus = all
}
