2 # Default Bacula Storage Daemon Configuration file
4 # For Bacula release @VERSION@ (@DATE@) -- @DISTNAME@ @DISTVER@
6 # You may need to change the name of your tape drive
7 # on the "Archive Device" directive in the Device
8 # resource. If you change the Name and/or the
9 # "Media Type" in the Device resource, please ensure
10 # that dird.conf has corresponding changes.
13 Storage { # definition of myself
15 SDPort = @sd_port@ # Director's port
16 WorkingDirectory = "@working_dir@"
17 Pid Directory = "@piddir@"
18 Maximum Concurrent Jobs = 20
22 # List Directors who are permitted to contact Storage daemon
26 Password = "@sd_password@"
30 # Restricted Director, used by tray-monitor to get the
31 # status of the storage daemon
35 Password = "@mon_sd_password@"
40 # Note, for a list of additional Device templates please
41 # see the directory <bacula-source>/examples/devices
42 # Or follow the following link:
43 # http://bacula.svn.sourceforge.net/viewvc/bacula/trunk/bacula/examples/devices/
47 # Devices supported by this Storage daemon
48 # To connect, the Director's bacula-dir.conf must have the
49 # same Name and MediaType.
53 # Define a Virtual autochanger
57 Device = FileChgr1-Dev1, FileChgr1-Dev2
59 Changer Device = /dev/null
65 Archive Device = @archivedir@
66 LabelMedia = yes; # lets Bacula label unlabeled media
68 AutomaticMount = yes; # when device opened, read it
71 Maximum Concurrent Jobs = 5
77 Archive Device = @archivedir@
78 LabelMedia = yes; # lets Bacula label unlabeled media
80 AutomaticMount = yes; # when device opened, read it
83 Maximum Concurrent Jobs = 5
87 # Define a second Virtual autochanger
91 Device = FileChgr2-Dev1, FileChgr2-Dev2
93 Changer Device = /dev/null
99 Archive Device = @archivedir@
100 LabelMedia = yes; # lets Bacula label unlabeled media
102 AutomaticMount = yes; # when device opened, read it
105 Maximum Concurrent Jobs = 5
109 Name = FileChgr2-Dev2
111 Archive Device = @archivedir@
112 LabelMedia = yes; # lets Bacula label unlabeled media
114 AutomaticMount = yes; # when device opened, read it
117 Maximum Concurrent Jobs = 5
123 # An autochanger device with two drives
129 # Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
130 # Changer Device = /dev/sg0
136 # Media Type = DLT-8000
137 # Archive Device = /dev/nst0
138 # AutomaticMount = yes; # when device opened, read it
140 # RemovableMedia = yes;
144 # # Enable the Alert command only if you have the mtx package loaded
145 # # Note, apparently on some systems, tapeinfo resets the SCSI controller
146 # # thus if you turn this on, make sure it does not reset your SCSI
147 # # controller. I have never had any problems, and smartctl does
148 # # not seem to cause such problems.
150 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
151 # If you have smartctl, enable this, it has more info than tapeinfo
152 # Alert Command = "sh -c 'smartctl -H -l error %c'"
158 # Media Type = DLT-8000
159 # Archive Device = /dev/nst1
160 # AutomaticMount = yes; # when device opened, read it
162 # RemovableMedia = yes;
165 # # Enable the Alert command only if you have the mtx package loaded
166 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
167 # If you have smartctl, enable this, it has more info than tapeinfo
168 # Alert Command = "sh -c 'smartctl -H -l error %c'"
172 # A Linux or Solaris LTO-2 tape drive
177 # Archive Device = @TAPEDRIVE@
178 # AutomaticMount = yes; # when device opened, read it
180 # RemovableMedia = yes;
182 # Maximum File Size = 3GB
183 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
184 ## Changer Device = /dev/sg0
186 # # Enable the Alert command only if you have the mtx package loaded
187 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
188 ## If you have smartctl, enable this, it has more info than tapeinfo
189 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
193 # A Linux or Solaris LTO-3 tape drive
198 # Archive Device = @TAPEDRIVE@
199 # AutomaticMount = yes; # when device opened, read it
201 # RemovableMedia = yes;
203 # Maximum File Size = 4GB
204 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
205 ## Changer Device = /dev/sg0
207 # # Enable the Alert command only if you have the mtx package loaded
208 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
209 ## If you have smartctl, enable this, it has more info than tapeinfo
210 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
214 # A Linux or Solaris LTO-4 tape drive
219 # Archive Device = @TAPEDRIVE@
220 # AutomaticMount = yes; # when device opened, read it
222 # RemovableMedia = yes;
224 # Maximum File Size = 5GB
225 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
226 ## Changer Device = /dev/sg0
228 # # Enable the Alert command only if you have the mtx package loaded
229 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
230 ## If you have smartctl, enable this, it has more info than tapeinfo
231 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
235 # An HP-UX tape drive
240 # Media Type = DLT-8000
241 # Archive Device = /dev/rmt/1mnb
242 # AutomaticMount = yes; # when device opened, read it
244 # RemovableMedia = yes;
248 # Hardware End of Medium = no
249 # Fast Forward Space File = no
251 # # Enable the Alert command only if you have the mtx package loaded
252 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
253 # If you have smartctl, enable this, it has more info than tapeinfo
254 # Alert Command = "sh -c 'smartctl -H -l error %c'"
258 # A FreeBSD tape drive
262 # Description = "DDS-4 for FreeBSD"
264 # Archive Device = /dev/nsa1
265 # AutomaticMount = yes; # when device opened, read it
267 # Offline On Unmount = no
268 # Hardware End of Medium = no
270 # Backward Space Record = no
271 # Fast Forward Space File = no
273 # If you have smartctl, enable this, it has more info than tapeinfo
274 # Alert Command = "sh -c 'smartctl -H -l error %c'"
278 # Send all messages to the Director,
279 # mount messages also are sent to the email address
283 director = @basename@-dir = all