]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk-virtual.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / bacula-sd-2disk-virtual.conf.in
1 #
2 # Default Bacula 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
11 Storage {                             # definition of myself
12   Name = @hostname@-sd
13   SDPort = @sdport@                  # Director's port      
14   WorkingDirectory = "@working_dir@"
15   Pid Directory = "@piddir@"
16   Subsys Directory = "@subsysdir@"
17   Maximum Concurrent Jobs = 100
18 }
19
20 #
21 # List Directors who are permitted to contact Storage daemon
22 #
23 Director {
24   Name = @hostname@-dir
25   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
26 }
27
28
29 Autochanger {
30   Name = Virtual
31   Changer Device = /dev/null
32   Changer Command = /dev/null
33   Device = vDrive-1
34   Device = vDrive-2
35   Device = vDrive-3
36   Device = vDrive-4
37   Device = vDrive-5
38   Device = vDrive-6
39   Device = vDrive-7
40   Device = vDrive-8
41   Device = vDrive-R
42 }
43
44 Device {
45   Name = vDrive-1
46 #A  Device Type = Aligned
47 #A  Maximum Block Size = 128K
48 #A  Minimum Block Size = 0
49 #A  File Alignment = 128K
50 #A  Padding Size = 512
51   Media Type = Disk
52   Archive Device = @tmpdir@
53   AutomaticMount = yes;               # when device opened, read it
54   Autochanger = yes
55   Drive Index = 0
56   AlwaysOpen = yes;
57   RemovableMedia = yes;
58   Maximum Concurrent Jobs = 1
59   Volume Poll Interval = 15
60   Label Media = yes
61   Maximum Volume Size = 50M
62 # Maximum File Size = 1000000
63 }
64
65 Device {
66   Name = vDrive-2
67 #A  Device Type = Aligned
68 #A  Maximum Block Size = 128K
69 #A  Minimum Block Size = 0
70 #A  File Alignment = 128K
71 #A  Padding Size = 512
72   Media Type = Disk
73   Archive Device = @tmpdir@
74   AutomaticMount = yes;               # when device opened, read it
75   Autochanger = yes
76   Drive Index = 2
77   AlwaysOpen = yes;
78   RemovableMedia = yes;
79   Maximum Concurrent Jobs = 1
80   Volume Poll Interval = 15
81   Label Media = yes
82   Maximum Volume Size = 50M
83 # Maximum File Size = 1000000
84 }
85
86 Device {
87   Name = vDrive-3
88 #A  Device Type = Aligned
89 #A  Maximum Block Size = 128K
90 #A  Minimum Block Size = 0
91 #A  File Alignment = 128K
92 #A  Padding Size = 512
93   Media Type = Disk
94   Archive Device = @tmpdir@
95   AutomaticMount = yes;               # when device opened, read it
96   Autochanger = yes
97   Drive Index = 3
98   AlwaysOpen = yes;
99   RemovableMedia = yes;
100   Maximum Concurrent Jobs = 1
101   Volume Poll Interval = 15
102   Label Media = yes
103   Maximum Volume Size = 50M
104 # Maximum File Size = 1000000
105 }
106
107 Device {
108   Name = vDrive-4
109   Media Type = Disk
110 #A  Device Type = Aligned
111 #A  Maximum Block Size = 128K
112 #A  Minimum Block Size = 0
113 #A  File Alignment = 128K
114 #A  Padding Size = 512
115   Archive Device = @tmpdir@
116   AutomaticMount = yes;               # when device opened, read it
117   Autochanger = yes
118   Drive Index = 4
119   AlwaysOpen = yes;
120   RemovableMedia = yes;
121   Maximum Concurrent Jobs = 1
122   Volume Poll Interval = 15
123   Label Media = yes
124   Maximum Volume Size = 50M
125 # Maximum File Size = 1000000
126 }
127
128 Device {
129   Name = vDrive-5
130   Media Type = Disk
131 #A  Device Type = Aligned
132 #A  Maximum Block Size = 128K
133 #A  Minimum Block Size = 0
134 #A  File Alignment = 128K
135 #A  Padding Size = 512
136   Archive Device = @tmpdir@
137   AutomaticMount = yes;               # when device opened, read it
138   Autochanger = yes
139   Drive Index = 5
140   AlwaysOpen = yes;
141   RemovableMedia = yes;
142   Maximum Concurrent Jobs = 1
143   Volume Poll Interval = 15
144   Label Media = yes
145   Maximum Volume Size = 50M
146 # Maximum File Size = 1000000
147 }
148
149 Device {
150   Name = vDrive-6
151   Media Type = Disk
152 #A  Device Type = Aligned
153 #A  Maximum Block Size = 128K
154 #A  Minimum Block Size = 0
155 #A  File Alignment = 128K
156 #A  Padding Size = 512
157   Archive Device = @tmpdir@
158   AutomaticMount = yes;               # when device opened, read it
159   Autochanger = yes
160   Drive Index = 6
161   AlwaysOpen = yes;
162   RemovableMedia = yes;
163   Maximum Concurrent Jobs = 1
164   Volume Poll Interval = 15
165   Label Media = yes
166   Maximum Volume Size = 50M
167 # Maximum File Size = 1000000
168 }
169
170 Device {
171   Name = vDrive-7
172   Media Type = Disk
173 #A  Device Type = Aligned
174 #A  Maximum Block Size = 128K
175 #A  Minimum Block Size = 0
176 #A  File Alignment = 128K
177 #A  Padding Size = 512
178   Archive Device = @tmpdir@
179   AutomaticMount = yes;               # when device opened, read it
180   Autochanger = yes
181   Drive Index = 7
182   AlwaysOpen = yes;
183   RemovableMedia = yes;
184   Maximum Concurrent Jobs = 1
185   Volume Poll Interval = 15
186   Label Media = yes
187   Maximum Volume Size = 50M
188 # Maximum File Size = 1000000
189 }
190
191 Device {
192   Name = vDrive-8
193   Media Type = Disk
194 #A  Device Type = Aligned
195 #A  Maximum Block Size = 128K
196 #A  Minimum Block Size = 0
197 #A  File Alignment = 128K
198 #A  Padding Size = 512
199   Archive Device = @tmpdir@
200   AutomaticMount = yes;               # when device opened, read it
201   Autochanger = yes
202   Drive Index = 7
203   AlwaysOpen = yes;
204   RemovableMedia = yes;
205   Maximum Concurrent Jobs = 1
206   Volume Poll Interval = 15
207   Label Media = yes
208   Maximum Volume Size = 50M
209 # Maximum File Size = 1000000
210 }
211
212 Device {
213   Name = vDrive-R
214   Media Type = File
215 #A  Device Type = Aligned
216 #A  Maximum Block Size = 128K
217 #A  Minimum Block Size = 0
218 #A  File Alignment = 128K
219 #A  Padding Size = 512
220   Archive Device = @tmpdir@
221   AutomaticMount = yes;               # when device opened, read it
222   Autochanger = yes
223   Drive Index = 9
224   AlwaysOpen = yes;
225   RemovableMedia = yes;
226   Maximum Concurrent Jobs = 1
227   Volume Poll Interval = 15
228   ReadOnly = yes
229   Label Media = yes
230   Maximum Volume Size = 50M
231 # Maximum File Size = 1000000
232 }
233
234
235 # Send all messages to the Director, 
236 # mount messages also are sent to the email address
237 #
238 Messages {
239   Name = Standard
240   director = @hostname@-dir = all, !terminate
241 }
242
243 Cloud {
244   Name = DummyCloud
245   Driver = "File"
246   HostName = "@tmpdir@/cloud"
247   BucketName = "DummyBucket"
248   AccessKey = "DummyAccessKey"
249   SecretKey = "DummySecretKey"
250   Protocol = HTTPS
251   UriStyle = VirtualHost
252 }
253