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
45 # Devices supported by this Storage daemon
46 # To connect, the Director's bacula-dir.conf must have the
47 # same Name and MediaType.
51 # Define a Virtual autochanger
55 Device = FileChgr1-Dev1, FileChgr1-Dev2
57 Changer Device = /dev/null
63 Archive Device = @archivedir@
64 LabelMedia = yes; # lets Bacula label unlabeled media
66 AutomaticMount = yes; # when device opened, read it
69 Maximum Concurrent Jobs = 5
75 Archive Device = @archivedir@
76 LabelMedia = yes; # lets Bacula label unlabeled media
78 AutomaticMount = yes; # when device opened, read it
81 Maximum Concurrent Jobs = 5
85 # Define a second Virtual autochanger
89 Device = FileChgr2-Dev1, FileChgr2-Dev2
91 Changer Device = /dev/null
97 Archive Device = @archivedir@
98 LabelMedia = yes; # lets Bacula label unlabeled media
100 AutomaticMount = yes; # when device opened, read it
103 Maximum Concurrent Jobs = 5
107 Name = FileChgr2-Dev2
109 Archive Device = @archivedir@
110 LabelMedia = yes; # lets Bacula label unlabeled media
112 AutomaticMount = yes; # when device opened, read it
115 Maximum Concurrent Jobs = 5
121 # An autochanger device with two drives
127 # Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
128 # Changer Device = /dev/sg0
134 # Media Type = DLT-8000
135 # Archive Device = /dev/nst0
136 # AutomaticMount = yes; # when device opened, read it
138 # RemovableMedia = yes;
142 # # Enable the Alert command only if you have the mtx package loaded
143 # # Note, apparently on some systems, tapeinfo resets the SCSI controller
144 # # thus if you turn this on, make sure it does not reset your SCSI
145 # # controller. I have never had any problems, and smartctl does
146 # # not seem to cause such problems.
148 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
149 # If you have smartctl, enable this, it has more info than tapeinfo
150 # Alert Command = "sh -c 'smartctl -H -l error %c'"
156 # Media Type = DLT-8000
157 # Archive Device = /dev/nst1
158 # AutomaticMount = yes; # when device opened, read it
160 # RemovableMedia = yes;
163 # # Enable the Alert command only if you have the mtx package loaded
164 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
165 # If you have smartctl, enable this, it has more info than tapeinfo
166 # Alert Command = "sh -c 'smartctl -H -l error %c'"
170 # A Linux or Solaris LTO-2 tape drive
175 # Archive Device = @TAPEDRIVE@
176 # AutomaticMount = yes; # when device opened, read it
178 # RemovableMedia = yes;
180 # Maximum File Size = 3GB
181 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
182 ## Changer Device = /dev/sg0
184 # # Enable the Alert command only if you have the mtx package loaded
185 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
186 ## If you have smartctl, enable this, it has more info than tapeinfo
187 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
191 # A Linux or Solaris LTO-3 tape drive
196 # Archive Device = @TAPEDRIVE@
197 # AutomaticMount = yes; # when device opened, read it
199 # RemovableMedia = yes;
201 # Maximum File Size = 4GB
202 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
203 ## Changer Device = /dev/sg0
205 # # Enable the Alert command only if you have the mtx package loaded
206 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
207 ## If you have smartctl, enable this, it has more info than tapeinfo
208 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
212 # A Linux or Solaris LTO-4 tape drive
217 # Archive Device = @TAPEDRIVE@
218 # AutomaticMount = yes; # when device opened, read it
220 # RemovableMedia = yes;
222 # Maximum File Size = 5GB
223 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
224 ## Changer Device = /dev/sg0
226 # # Enable the Alert command only if you have the mtx package loaded
227 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
228 ## If you have smartctl, enable this, it has more info than tapeinfo
229 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
233 # An HP-UX tape drive
238 # Media Type = DLT-8000
239 # Archive Device = /dev/rmt/1mnb
240 # AutomaticMount = yes; # when device opened, read it
242 # RemovableMedia = yes;
246 # Hardware End of Medium = no
247 # Fast Forward Space File = no
249 # # Enable the Alert command only if you have the mtx package loaded
250 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
251 # If you have smartctl, enable this, it has more info than tapeinfo
252 # Alert Command = "sh -c 'smartctl -H -l error %c'"
256 # A FreeBSD tape drive
260 # Description = "DDS-4 for FreeBSD"
262 # Archive Device = /dev/nsa1
263 # AutomaticMount = yes; # when device opened, read it
265 # Offline On Unmount = no
266 # Hardware End of Medium = no
268 # Backward Space Record = no
269 # Fast Forward Space File = no
271 # If you have smartctl, enable this, it has more info than tapeinfo
272 # Alert Command = "sh -c 'smartctl -H -l error %c'"
276 # Send all messages to the Director,
277 # mount messages also are sent to the email address
281 director = @basename@-dir = all