#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 1.36.2 (28 February 2005) -- solaris 5.10
#
# 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 = iserver-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "/iserver/bacula/var/bacula/working"
  Pid Directory = "/iserver/var/run"
  Maximum Concurrent Jobs = 20
}

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

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

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

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

#
# A Linux or Solaris Quantum Library
#
Device {
  Name = QUANTUM
  Media Type = LTO
  Archive Device = /dev/rst22
  AutomaticMount = yes;               # when device opened, read it
  AlwaysOpen = no;
  RemovableMedia = yes;
#  Maximum Spool Size = 67108864
#  Spool Directory = /export/home/tmp/bacula-spool
}

#
# A Linux or Solaris Quantum Library
#
#Device {
#  Name = QUANTUM
#  Media Type = LIBRARY
#  Archive Device = /dev/rst22
#  Changer Device = /dev/scsi/changer/c4t5d0
#  Changer Command = "/iserver/bacula/etc/mtx-changer %c %o %S %a %d"
#  AutoChanger = yes;
#  LabelMedia = no;
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
##  RemovableMedia = yes;
##  RandomAccess = no;
##  Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#}


#
# A Linux or Solaris tape drive
#
#Device {
#  Name = DDS-4                        # 
#  Media Type = DDS-4
#  Archive Device = /dev/rmt/0cbn
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
## Changer Command = "/iserver/bacula/etc/mtx-changer %c %o %S %a %d"
## Changer Device = /dev/sg0
## AutoChanger = yes
## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
#}

#
# A FreeBSD tape drive
#
#Device {
#  Name = DDS-4 
#  Description = "DDS-4 for FreeBSD"
#  Media Type = DDS-4
#  Archive Device = /dev/nsa1
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
#  Hardware End of Medium = no
#  BSF at EOM = yes
#  Backward Space Record = no
#  Fast Forward Space File = no
#  TWO EOF = yes
#}

#
# A OnStream tape drive. 
# You need the kernel osst driver 0.9.14 or later, and
#   do "mt -f /dev/nosst0 defblksize 32768" once as root.
#
#Device {
#  Name = OnStream
#  Description = "OnStream drive on Linux"
#  Media Type = OnStream
#  Archive Device = /dev/rmt/0cbn
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = yes
#  Offline On Unmount = no
## The min/max blocksizes of 32768 are *required*
#  Minimum Block Size = 32768
#  Maximum Block Size = 32768
#}
 

 


#
# A very old Exabyte with no end of media detection
#
#Device {
#  Name = "Exabyte 8mm"
#  Media Type = "8mm"
#  Archive Device = /dev/rmt/0cbn
#  Hardware end of medium = No;
#  AutomaticMount = yes;               # when device opened, read it
#  AlwaysOpen = Yes;
#  RemovableMedia = yes;
#  RandomAccess = no;
#}

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