1# 2# Default Bareos Storage Daemon Configuration file 3# 4# Special configuration for testing two different tape drives 5# with different Media 6# 7 8Storage { # definition of myself 9 Name = @hostname@-sd 10 SDPort = @sdport@ # Director's port 11 WorkingDirectory = "@working_dir@" 12 Pid Directory = "@piddir@" 13} 14 15# 16# List Directors who are permitted to contact Storage daemon 17# 18Director { 19 Name = @hostname@-dir 20 Password = "storage-pw" 21} 22 23# 24# Devices supported by this Storage daemon 25# To connect, the Director's bareos-dir.conf must have the 26# same Name and MediaType. 27# 28Autochanger { 29 Name = tape 30 Changer Device = @autochanger@ 31 Changer Command ="@scriptdir@/@changer_script@ %c %o %S %a %d" 32 Device = Drive-0 33} 34 35Device { 36 Name = Drive-0 37 Media Type = tape 38 Archive Device = @tape_drive@ 39 AutomaticMount = yes; # when device opened, read it 40 Autochanger = yes 41 Drive Index = 0 42 AlwaysOpen = yes; 43 RemovableMedia = yes; 44 @@confdir@/tape_options 45# Maximum File Size = 1000000 46} 47 48Device { 49 Name = DLT80 50 Media Type = DLT8000 51 Archive Device = @tape_drive1@ 52 AutomaticMount = yes; # when device opened, read it 53 AlwaysOpen = yes; 54 RemovableMedia = yes; 55 @@confdir@/tape_options 56# Maximum File Size = 1000000 57} 58 59 60# 61# Send all messages to the Director, 62# mount messages also are sent to the email address 63# 64Messages { 65 Name = Standard 66 director = @hostname@-dir = all, !terminate 67} 68