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 # Devices supported by this Storage daemon
41 # To connect, the Director's bacula-dir.conf must have the
42 # same Name and MediaType.
49 LabelMedia = yes; # lets Bacula label unlabeled media
51 AutomaticMount = yes; # when device opened, read it
57 # An autochanger device with two drives
63 # Changer Command = "/home/kern/bacula/bin/mtx-changer %c %o %S %a %d"
64 # Changer Device = /dev/sg0
70 # Media Type = DLT-8000
71 # Archive Device = /dev/nst0
72 # AutomaticMount = yes; # when device opened, read it
74 # RemovableMedia = yes;
77 # # Enable the Alert command only if you have the mtx package loaded
78 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
79 # If you have smartctl, enable this, it has more info than tapeinfo
80 # Alert Command = "sh -c 'smartctl -H -l error %c'"
86 # Media Type = DLT-8000
87 # Archive Device = /dev/nst1
88 # AutomaticMount = yes; # when device opened, read it
90 # RemovableMedia = yes;
93 # # Enable the Alert command only if you have the mtx package loaded
94 # Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
95 # If you have smartctl, enable this, it has more info than tapeinfo
96 # Alert Command = "sh -c 'smartctl -H -l error %c'"
100 # A Linux or Solaris tape drive
105 # Archive Device = @TAPEDRIVE@
106 # AutomaticMount = yes; # when device opened, read it
108 # RemovableMedia = yes;
110 ## Changer Command = "@scriptdir@/mtx-changer %c %o %S %a %d"
111 ## Changer Device = /dev/sg0
113 # # Enable the Alert command only if you have the mtx package loaded
114 ## Alert Command = "sh -c 'tapeinfo -f %c |grep TapeAlert|cat'"
115 ## If you have smartctl, enable this, it has more info than tapeinfo
116 ## Alert Command = "sh -c 'smartctl -H -l error %c'"
120 # A FreeBSD tape drive
124 # Description = "DDS-4 for FreeBSD"
126 # Archive Device = /dev/nsa1
127 # AutomaticMount = yes; # when device opened, read it
129 # Offline On Unmount = no
130 # Hardware End of Medium = no
132 # Backward Space Record = no
133 # Fast Forward Space File = no
135 # If you have smartctl, enable this, it has more info than tapeinfo
136 # Alert Command = "sh -c 'smartctl -H -l error %c'"
140 # A OnStream tape drive.
141 # You need the kernel osst driver 0.9.14 or later, and
142 # do "mt -f /dev/nosst0 defblksize 32768" once as root.
146 # Description = "OnStream drive on Linux"
147 # Media Type = OnStream
148 # Archive Device = @TAPEDRIVE@
149 # AutomaticMount = yes; # when device opened, read it
151 # Offline On Unmount = no
152 ## The min/max blocksizes of 32768 are *required*
153 # Minimum Block Size = 32768
154 # Maximum Block Size = 32768
155 # If you have smartctl, enable this, it has more info than tapeinfo
156 # Alert Command = "sh -c 'smartctl -H -l error %c'"
163 # Name = "DVD-Writer"
165 # Archive Device = /dev/hdc
166 # LabelMedia = yes; # lets Bacula label unlabeled media
167 # Random Access = Yes;
168 # AutomaticMount = yes; # when device opened, read it
169 # RemovableMedia = yes;
171 # MaximumPartSize = 800M;
172 # RequiresMount = yes;
173 # MountPoint = /mnt/cdrom;
174 # MountCommand = "/bin/mount -t iso9660 -o ro %a %m";
175 # UnmountCommand = "/bin/umount %m";
176 # SpoolDirectory = /tmp/backup;
177 # WritePartCommand = "/etc/bacula/dvd-handler %a write %e %v"
178 # FreeSpaceCommand = "/etc/bacula/dvd-handler %a free"
182 # For OpenBSD OS >= 3.6
187 # Archive Device = /dev/nrst0
191 # AutomaticMount = yes;
193 # RemovableMedia = yes;
195 # If you have smartctl, enable this, it has more info than tapeinfo
196 # Alert Command = "sh -c 'smartctl -H -l error %c'"
200 # A very old Exabyte with no end of media detection
203 # Name = "Exabyte 8mm"
205 # Archive Device = @TAPEDRIVE@
206 # Hardware end of medium = No;
207 # AutomaticMount = yes; # when device opened, read it
209 # RemovableMedia = yes;
211 # If you have smartctl, enable this, it has more info than tapeinfo
212 # Alert Command = "sh -c 'smartctl -H -l error %c'"
216 # Send all messages to the Director,
217 # mount messages also are sent to the email address
221 director = @hostname@-dir = all