]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-2disk-drive.conf.in
Big backport from Enterprise
[bacula/bacula] / regress / scripts / bacula-sd-2disk-drive.conf.in
1 #
2 # Default Bacula Storage Daemon Configuration file
3 #
4 #  For Bacula release 8.7.0
5 #
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.
11 #
12
13 Storage {                             # definition of myself
14   Name = @hostname@-sd
15   SDPort = @sdport@                  # Director's port      
16   WorkingDirectory = "@working_dir@"
17   Pid Directory = "@piddir@"
18   Subsys Directory = "@subsysdir@"
19   Maximum Concurrent Jobs = 100
20 }
21
22 #
23 # List Directors who are permitted to contact Storage daemon
24 #
25 Director {
26   Name = @hostname@-dir
27   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
28 }
29
30 #
31 # Devices supported by this Storage daemon
32 # To connect, the Director's bacula-dir.conf must have the
33 #  same Name and MediaType. 
34 #
35 Autochanger {
36   Name = tape
37   Changer Device = /dev/null
38   Changer Command =""
39   Device = Drive-0, Drive-1
40 }
41
42 Device {
43   Name = Drive-0
44   Device Type = File
45   Media Type = tape
46   Archive Device = @tmpdir@
47   AutomaticMount = yes;               # when device opened, read it
48   Autochanger = yes
49   Drive Index = 0
50   AlwaysOpen = yes;
51   RemovableMedia = yes;
52 # Maximum File Size = 1000000
53 }
54
55 Device {
56   Name = Drive-1
57   Device Type = File
58   Media Type = tape
59   Archive Device = @tmpdir@
60   AutomaticMount = yes;               # when device opened, read it
61   Autochanger = yes
62   Drive Index = 1
63   AlwaysOpen = yes;
64   RemovableMedia = yes;
65 # Maximum File Size = 1000000
66 }
67
68 Autochanger {
69   Name = Virtual
70   Changer Device = /dev/null
71   Changer Command =""
72   Device = vDrive-1, vDrive-2
73 }
74
75 Device {
76   Name = vDrive-1
77   Device Type = File
78   Media Type = Disk
79   Archive Device = @tmpdir@
80   AutomaticMount = yes;               # when device opened, read it
81   Autochanger = yes
82   Drive Index = 0
83   AlwaysOpen = yes;
84   RemovableMedia = yes;
85   Maximum Concurrent Jobs = 3
86   Volume Poll Interval = 15
87 # Maximum File Size = 1000000
88 }
89
90 Device {
91   Name = vDrive-2
92   Device Type = File
93   Media Type = Disk
94   Archive Device = @tmpdir@
95   AutomaticMount = yes;               # when device opened, read it
96   Autochanger = yes
97   Drive Index = 1
98   AlwaysOpen = yes;
99   RemovableMedia = yes;
100   Maximum Concurrent Jobs = 3
101   Volume Poll Interval = 15
102 # Maximum File Size = 1000000
103 }
104
105 Device {
106   Name = vDrive-Disk-restore
107   Device Type = File
108   Media Type = Disk
109   Archive Device = @tmpdir@
110   AutomaticMount = yes;               # when device opened, read it
111   Autochanger = yes
112   Drive Index = 1
113   AlwaysOpen = yes;
114   RemovableMedia = yes;
115   Maximum Concurrent Jobs = 3
116   Volume Poll Interval = 15
117 # Maximum File Size = 1000000
118 }
119
120 Autochanger {
121   Name = Virtual2
122   Changer Device = /dev/null
123   Changer Command =""
124   Device = vDrive-3, vDrive-4
125 }
126
127 Device {
128   Name = vDrive-3
129   Device Type = File
130   Media Type = Disk2
131   Archive Device = @tmpdir@
132   AutomaticMount = yes;               # when device opened, read it
133   Autochanger = yes
134   Drive Index = 0
135   AlwaysOpen = yes;
136   RemovableMedia = yes;
137   Maximum Concurrent Jobs = 3
138   Volume Poll Interval = 15
139 # Maximum File Size = 1000000
140 }
141
142 Device {
143   Name = vDrive-4
144   Device Type = File
145   Media Type = Disk2
146   Archive Device = @tmpdir@
147   AutomaticMount = yes;               # when device opened, read it
148   Autochanger = yes
149   Drive Index = 1
150   AlwaysOpen = yes;
151   RemovableMedia = yes;
152   Maximum Concurrent Jobs = 3
153   Volume Poll Interval = 15
154 # Maximum File Size = 1000000
155 }
156
157 Device {
158   Name = vDrive-Disk2-restore
159   Device Type = File
160   Media Type = Disk2
161   Archive Device = @tmpdir@
162   AutomaticMount = yes;               # when device opened, read it
163   Autochanger = yes
164   Drive Index = 1
165   AlwaysOpen = yes;
166   RemovableMedia = yes;
167   Maximum Concurrent Jobs = 3
168   Volume Poll Interval = 15
169 # Maximum File Size = 1000000
170 }
171
172 Autochanger {
173   Name = VirtualRestore
174   Changer Device = /dev/null
175   Changer Command =""
176   Device = vDrive-Disk-restore, vDrive-Disk2-restore
177 }
178
179
180
181 # Send all messages to the Director, 
182 # mount messages also are sent to the email address
183 #
184 Messages {
185   Name = Standard
186   director = @hostname@-dir = all, !terminate
187 }
188
189 Cloud {
190   Name = DummyCloud
191   Driver = "File"
192   HostName = "@tmpdir@/cloud"
193   BucketName = "DummyBucket"
194   AccessKey = "DummyAccessKey"
195   SecretKey = "DummySecretKey"
196   Protocol = HTTPS
197   UriStyle = VirtualHost
198 }
199