#
# Default Bacula Storage Daemon Configuration file
#
#  For Bacula release 2.0.2 (01/28/07) -- Windows MVS
#
# 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 bacula-dir.conf has corresponding changes.
#

Storage {                             # definition of myself
  Name = winserv2-sd
  SDPort = 9103                  # Director's port      
  WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work"
  Pid Directory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work"
  Maximum Concurrent Jobs = 10
}

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

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

Device {
  Name = LocalStorage
  Media Type = LocalFile
  Archive Device = "D:\\Backup"
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = No
  AlwaysOpen = no
}

Device {
  Name = FullStorage
  Media Type = FullFile
  Archive Device = "G:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = DailyStorage
  Media Type = DailyFile
  Archive Device = "F:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = winserv2FullStorage
  Media Type = winserv2FullFile
  Archive Device = "G:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = winserv2DailyStorage
  Media Type = winserv2DailyFile
  Archive Device = "F:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = winserv3FullStorage
  Media Type = winserv3FullFile
  Archive Device = "G:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = winserv3DailyStorage
  Media Type = winserv3DailyFile
  Archive Device = "F:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = termserv1FullStorage
  Media Type = termserv1FullFile
  Archive Device = "G:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

Device {
  Name = termserv1DailyStorage
  Media Type = termserv1DailyFile
  Archive Device = "F:\\"
  Label Media = Yes                   # lets Bacula label unlabeled media
  Random Access = Yes
  AutomaticMount = Yes               # when device opened, read it
  RemovableMedia = Yes
  AlwaysOpen = no
}

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