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 Maximum Concurrent Jobs = 100 17} 18 19# 20# List Directors who are permitted to contact Storage daemon 21# 22Director { 23 Name = @hostname@-dir 24 Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9" 25} 26 27# 28# Devices supported by this Storage daemon 29# To connect, the Director's bareos-dir.conf must have the 30# same Name and MediaType. 31# 32Autochanger { 33 Name = tape 34 Changer Device = @disk_drive@/conf 35 Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d" 36 Device = Drive-0, Drive-1 37} 38 39Device { 40 Name = Drive-0 41 Device Type = File 42 Media Type = tape 43 Archive Device = @disk_drive@/drive0 44 AutomaticMount = yes; # when device opened, read it 45 Autochanger = yes 46 Drive Index = 0 47 AlwaysOpen = yes; 48 RemovableMedia = yes; 49# Maximum File Size = 1000000 50} 51 52Device { 53 Name = Drive-1 54 Device Type = File 55 Media Type = tape 56 Archive Device = @disk_drive@/drive1 57 AutomaticMount = yes; # when device opened, read it 58 Autochanger = yes 59 Drive Index = 1 60 AlwaysOpen = yes; 61 RemovableMedia = yes; 62# Maximum File Size = 1000000 63} 64 65Autochanger { 66 Name = Virtual 67 Changer Device = /dev/null 68 Changer Command ="" 69 Device = vDrive-1, vDrive-2 70} 71 72Device { 73 Name = vDrive-1 74 Device Type = File 75 Media Type = Disk 76 Archive Device = @tmpdir@ 77 AutomaticMount = yes; # when device opened, read it 78 Autochanger = yes 79 Drive Index = 0 80 AlwaysOpen = yes; 81 RemovableMedia = yes; 82 Maximum Concurrent Jobs = 3 83 Volume Poll Interval = 15 84# Maximum File Size = 1000000 85} 86 87Device { 88 Name = vDrive-2 89 Device Type = File 90 Media Type = Disk 91 Archive Device = @tmpdir@ 92 AutomaticMount = yes; # when device opened, read it 93 Autochanger = yes 94 Drive Index = 1 95 AlwaysOpen = yes; 96 RemovableMedia = yes; 97 Maximum Concurrent Jobs = 3 98 Volume Poll Interval = 15 99# Maximum File Size = 1000000 100} 101 102# 103# Send all messages to the Director, 104# mount messages also are sent to the email address 105# 106Messages { 107 Name = Standard 108 director = @hostname@-dir = all, !terminate 109} 110