#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.36.3 (22 April 2005) -- suse 9.2
#
# You may need to change the name of your tape drive
#   on the "Archive Device" directive in the Device
#   resource.  If you change the Name and/or the 
#   "Media Type" in the Device resource, please ensure
#   that dird.conf has corresponding changes.
#

Storage {                             # definition of myself
  Name = bacula-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/var/lib/bacula"
  Pid Directory = "/run/bacula"
  Maximum Concurrent Jobs = 80
}

#
# List Directors who are permitted to contact Storage daemon
#
Director {
  Name = bacula-dir
  Password = "xxxxxx"
}

#
# Restricted Director, used by tray-monitor to get the
#   status of the storage daemon
#
Director {
  Name = bacula-mon
  Password = "xxxxxxxxx"
  Monitor = yes
}

#
# Devices supported by this Storage daemon
# To connect, the Director's bacula-dir.conf must have the
#  same Name and MediaType. 
#
Autochanger {
  Name = "Neo400"
  Device = "LTO6-0"
  Device = "LTO6-1"
  Changer Device = /dev/tape/by-id/scsi-1IBM_3573-TL_00L4U78T5163_LL0
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Device {
  Name = "LTO6-0"
  Device Type = Tape;
  Media Type = LTO6
  Archive Device = /dev/tape/by-id/scsi-35000e11150246001-nst
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes
  Drive Index = 0
  Spool Directory = /var/spool/bacula
  Maximum Spool Size = 100G
  Maximum File Size = 20G
  Maximum Block Size = 2048K
}

Device {
  Name = "LTO6-1"
  Device Type = Tape;
  Media Type = LTO6
  Archive Device = /dev/tape/by-id/scsi-35000e11150246004-nst
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes
  Drive Index = 1
  Spool Directory = /var/spool/bacula
  Maximum Spool Size = 100G
  Maximum File Size = 20G
  Maximum Block Size = 2048K
}

Autochanger {
  Name = FlexStor2
  Device = FS-LTO6-0
  Changer Device = /dev/tape/by-id/scsi-1BDT_FlexStor_II_00MX64200223_LL0
  Changer Command = "/etc/bacula/scripts/mtx-changer %c %o %S %a %d"
}

Device {
  Name = "FS-LTO6-0"
  Device Type = Tape;
  Media Type = LTO6
  Archive Device = /dev/tape/by-id/scsi-35000e1115d611001-nst
  AutomaticMount = yes;
  AlwaysOpen = yes;
  RemovableMedia = yes;
  RandomAccess = no;
  Autochanger = yes
  Drive Index = 0
  Spool Directory = /var/spool/bacula
  Maximum Spool Size = 100G
  Maximum File Size = 20G
  Maximum Block Size = 2048K
}
