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 = tape 33 Changer Device = @autochanger@ 34 Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d" 35 Device = Drive-0, Drive-1 36} 37 38Device { 39 Name = Drive-0 40 Media Type = tape 41 Archive Device = @tape_drive@ 42 AutomaticMount = yes; # when device opened, read it 43 Autochanger = yes 44 Drive Index = 0 45 AlwaysOpen = yes; 46 RemovableMedia = yes; 47 @@confdir@/tape_options 48# Maximum File Size = 1000000 49} 50 51Device { 52 Name = Drive-1 53 Media Type = tape 54 Archive Device = @tape_drive1@ 55 AutomaticMount = yes; # when device opened, read it 56 Autochanger = yes 57 Drive Index = 1 58 AlwaysOpen = yes; 59 RemovableMedia = yes; 60 @@confdir@/tape_options 61# Maximum File Size = 1000000 62} 63 64 65# 66# Send all messages to the Director, 67# mount messages also are sent to the email address 68# 69Messages { 70 Name = Standard 71 director = @hostname@-dir = all, !terminate 72} 73