1# 2# Default Bareos Storage Daemon Configuration file 3# 4# You may need to change the name of your tape drive 5# on the "Archive Device" directive in the Device 6# resource. If you change the Name and/or the 7# "Media Type" in the Device resource, please ensure 8# that dird.conf has corresponding changes. 9# 10 11Storage { # definition of myself 12 Name = @hostname@-sd 13 SDPort = @sdport@ # Director's port 14 WorkingDirectory = "@working_dir@" 15 Pid Directory = "@piddir@" 16} 17 18# 19# List Directors who are permitted to contact Storage daemon 20# 21Director { 22 Name = @hostname@-dir 23 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" 24} 25 26# 27# Devices supported by this Storage daemon 28# To connect, the Director's bareos-dir.conf must have the 29# same Name and MediaType. 30# 31 32Device { 33 Name = FileStorage 34 Media Type = File 35 Archive Device = @tmpdir@ 36 LabelMedia = yes; # lets Bareos label unlabelled media 37 Random Access = Yes; 38 AutomaticMount = yes; # when device opened, read it 39 RemovableMedia = no; 40 AlwaysOpen = no; 41# Maximum File Size = 10KB 42} 43 44Device { 45 Name = FileStorage1 46 Media Type = File 47 Archive Device = @tmpdir@ 48 LabelMedia = yes; # lets Bareos label unlabelled media 49 Random Access = Yes; 50 AutomaticMount = yes; # when device opened, read it 51 RemovableMedia = no; 52 AlwaysOpen = no; 53} 54 55 56#Device { 57# Name = "HP DLT 80" 58# Media Type = DLT8000 59# Archive Device = /dev/nst0 60# AutomaticMount = yes; # when device opened, read it 61# AlwaysOpen = yes; 62# RemovableMedia = yes; 63#} 64 65#Device { 66# Name = SDT-7000 # 67# Media Type = DDS-2 68# Archive Device = /dev/nst0 69# AutomaticMount = yes; # when device opened, read it 70# AlwaysOpen = yes; 71# RemovableMedia = yes; 72#} 73 74#Device { 75# Name = Floppy 76# Media Type = Floppy 77# Archive Device = /mnt/floppy 78# RemovableMedia = yes; 79# Random Access = Yes; 80# AutomaticMount = yes; # when device opened, read it 81# AlwaysOpen = no; 82#} 83 84# 85# A very old Exabyte with no end of media detection 86# 87#Device { 88# Name = "Exabyte 8mm" 89# Media Type = "8mm" 90# Archive Device = /dev/nst0 91# Hardware end of medium = No; 92# AutomaticMount = yes; # when device opened, read it 93# AlwaysOpen = Yes; 94# RemovableMedia = yes; 95#} 96 97# 98# Send all messages to the Director, 99# mount messages also are sent to the email address 100# 101Messages { 102 Name = Standard 103 director = @hostname@-dir = all, !terminate 104} 105