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# 31Autochanger { 32 Name = DiskChanger 33 Changer Device = @disk_drive@/conf 34 Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d" 35 Device = Drive-0 36} 37 38Device { 39 Name = Drive-0 # 40 Device Type = File 41 Media Type = DiskChangerMedia 42 Archive Device = @disk_drive@/drive0 43 AutomaticMount = yes; # when device opened, read it 44 Autochanger = yes 45 Drive Index = 0 46 AlwaysOpen = yes; 47 RemovableMedia = yes; 48# Maximum File Size = 1000000 49} 50 51Device { 52 Name = FileStorage 53 Media Type = File 54 Archive Device = @tmpdir@ 55 LabelMedia = yes; # lets Bareos label unlabeled media 56 Random Access = Yes; 57 AutomaticMount = yes; # when device opened, read it 58 RemovableMedia = no; 59 AlwaysOpen = no; 60} 61 62# 63# Send all messages to the Director, 64# mount messages also are sent to the email address 65# 66Messages { 67 Name = Standard 68 director = @hostname@-dir = all, !terminate 69} 70