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.
55 Archive Device = @archivedir@
56 LabelMedia = yes; # lets Bacula label unlabeled media
58 AutomaticMount = yes; # when device opened, read it
64 # An autochanger device with two drives
70 # Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
71 # Changer Device = /dev/sg0
77 # Media Type = DLT-8000
78 # Archive Device = /dev/nst0
79 # AutomaticMount = yes; # when device opened, read it
81 # RemovableMedia = yes;
85 # # Enable the Alert command only if you have the mtx package loaded
86 # # Note, apparently on some systems, tapeinfo resets the SCSI controller
87 # # thus if you turn this on, make sure it does not reset your SCSI
88 # # controller. I have never had any problems, and smartctl does
89 # # not seem to cause such problems.
91 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
92 # If you have smartctl, enable this, it has more info than tapeinfo
93 # Alert Command = "sh -c 'smartctl -H -l error %c'"
99 # Media Type = DLT-8000
100 # Archive Device = /dev/nst1
101 # AutomaticMount = yes; # when device opened, read it
103 # RemovableMedia = yes;
106 # # Enable the Alert command only if you have the mtx package loaded
107 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
108 # If you have smartctl, enable this, it has more info than tapeinfo
109 # Alert Command = "sh -c 'smartctl -H -l error %c'"
113 # A Linux or Solaris LTO-2 tape drive
118 # Archive Device = @TAPEDRIVE@
119 # AutomaticMount = yes; # when device opened, read it
121 # RemovableMedia = yes;
123 # Maximum File Size = 3GB
124 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
125 ## Changer Device = /dev/sg0
127 # # Enable the Alert command only if you have the mtx package loaded
128 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
129 ## If you have smartctl, enable this, it has more info than tapeinfo
130 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
134 # A Linux or Solaris LTO-3 tape drive
139 # Archive Device = @TAPEDRIVE@
140 # AutomaticMount = yes; # when device opened, read it
142 # RemovableMedia = yes;
144 # Maximum File Size = 4GB
145 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
146 ## Changer Device = /dev/sg0
148 # # Enable the Alert command only if you have the mtx package loaded
149 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
150 ## If you have smartctl, enable this, it has more info than tapeinfo
151 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
155 # A Linux or Solaris LTO-4 tape drive
160 # Archive Device = @TAPEDRIVE@
161 # AutomaticMount = yes; # when device opened, read it
163 # RemovableMedia = yes;
165 # Maximum File Size = 5GB
166 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
167 ## Changer Device = /dev/sg0
169 # # Enable the Alert command only if you have the mtx package loaded
170 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
171 ## If you have smartctl, enable this, it has more info than tapeinfo
172 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
179 # A FreeBSD tape drive
183 # Description = "DDS-4 for FreeBSD"
185 # Archive Device = /dev/nsa1
186 # AutomaticMount = yes; # when device opened, read it
188 # Offline On Unmount = no
189 # Hardware End of Medium = no
191 # Backward Space Record = no
192 # Fast Forward Space File = no
194 # If you have smartctl, enable this, it has more info than tapeinfo
195 # Alert Command = "sh -c 'smartctl -H -l error %c'"
199 # Send all messages to the Director,
200 # mount messages also are sent to the email address
204 director = @basename@-dir = all