]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-sd-vtape.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / bacula-sd-vtape.conf.in
1
2 # Bacula Storage Daemon Configuration file with
3 # dummy Autochanger
4 #
5 #
6
7 Storage {                             # definition of myself
8   Name = @hostname@-sd
9   SDPort = @sdport@                  # Director's port      
10   WorkingDirectory = "@working_dir@"
11   Pid Directory = "@piddir@"
12   Subsys Directory = "@subsysdir@"
13 }
14
15 #
16 # List Directors who are permitted to contact Storage daemon
17 #
18 Director {
19   Name = @hostname@-dir
20   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
21 }
22
23 #
24 # Devices supported by this Storage daemon
25 # To connect, the Director's bacula-dir.conf must have the
26 #  same Name and MediaType. 
27 #
28 Autochanger {
29   Name = LTO
30   Changer Device = @working_dir@/ach/conf
31   Changer Command ="@scriptdir@/disk-changer %c %o %S %a %d"
32   Device = LTO3_0, LTO3_1, LTO3_2, LTO1_5, LTO1_3, LTO1_4, LTO1-ANSI_6
33 }
34
35
36 Device {
37   Name = LTO3_0
38   Media Type = LTO3
39   Archive Device = @working_dir@/ach/drive0
40   Control Device = @working_dir@/ach/sg0
41   AutomaticMount = yes;               # when device opened, read it
42   Autochanger = yes
43   Drive Index = 0
44   AlwaysOpen = yes;
45   RemovableMedia = yes;
46   @@sbindir@/tape_options
47   Maximum File Size = 7M
48   Maximum Volume Size = 30M
49   Maximum Job Spool Size = 10M
50   Spool Directory =  @working_dir@
51   Device Type = VTape
52 }
53
54 Device {
55   Name = LTO3_1
56   Media Type = LTO3
57   Archive Device = @working_dir@/ach/drive1
58   Control Device = @working_dir@/ach/sg1
59   AutomaticMount = yes;               # when device opened, read it
60   Autochanger = yes
61   Drive Index = 1
62   AlwaysOpen = yes;
63   RemovableMedia = yes;
64   @@sbindir@/tape_options
65   Maximum File Size = 8M
66   Maximum Volume Size = 50M
67   Maximum Job Spool Size = 10M
68   Spool Directory =  @working_dir@
69   Device Type = VTape
70 }
71
72
73 Device {
74   Name = LTO3_2
75   Media Type = LTO3
76   Archive Device = @working_dir@/ach/drive2
77   Control Device = @working_dir@/ach/sg2
78   AutomaticMount = yes;               # when device opened, read it
79   Autochanger = yes
80   Drive Index = 2
81   AlwaysOpen = yes;
82   RemovableMedia = yes;
83   @@sbindir@/tape_options
84   Auto Select = no
85   Maximum File Size = 8M
86   Maximum Volume Size = 50M
87   Maximum Job Spool Size = 10M
88   Spool Directory =  @working_dir@
89   Device Type = VTape
90 }
91
92
93 Device {
94   Name = LTO1_3
95   Media Type = LTO1
96   Archive Device = @working_dir@/ach/drive3
97   Control Device = @working_dir@/ach/sg3
98   AutomaticMount = yes;               # when device opened, read it
99   Autochanger = yes
100   Drive Index = 3
101   AlwaysOpen = yes;
102   RemovableMedia = yes;
103   @@sbindir@/tape_options
104   Maximum File Size = 8M
105   Maximum Volume Size = 50M
106   Maximum Job Spool Size = 10M
107   Spool Directory =  @working_dir@
108   Device Type = VTape
109 }
110
111
112 Device {
113   Name = LTO1_4
114   Media Type = LTO1
115   Archive Device = @working_dir@/ach/drive4
116   Control Device = @working_dir@/ach/sg4
117   AutomaticMount = yes;               # when device opened, read it
118   Autochanger = yes
119   Drive Index = 4
120   AlwaysOpen = yes;
121   RemovableMedia = yes;
122   @@sbindir@/tape_options
123   Maximum File Size = 10M
124   Maximum Volume Size = 30M
125   Maximum Job Spool Size = 10M
126   Spool Directory =  @working_dir@
127   Device Type = VTape
128 }
129
130 Device {
131   Name = LTO1_5
132   Media Type = LTO1
133   Archive Device = @working_dir@/ach/drive5
134   Control Device = @working_dir@/ach/sg5
135   AutomaticMount = yes;               # when device opened, read it
136   Autochanger = yes
137   Drive Index = 5
138   AlwaysOpen = yes;
139   RemovableMedia = yes;
140   @@sbindir@/tape_options
141   Maximum File Size = 10M
142   Maximum Volume Size = 30M
143   Maximum Job Spool Size = 10M
144   Spool Directory =  @working_dir@
145   Device Type = VTape
146   Auto Select = no
147 }
148
149 Device {
150   Name = LTO1-ANSI_6
151   Media Type = LTO1-ANSI
152   Archive Device = @working_dir@/ach/drive6
153   Control Device = @working_dir@/ach/sg6
154   AutomaticMount = yes;               # when device opened, read it
155   Autochanger = yes
156   Drive Index = 6
157   AlwaysOpen = yes;
158   RemovableMedia = yes;
159   @@sbindir@/tape_options
160   Maximum File Size = 10M
161   Maximum Volume Size = 30M
162   Maximum Job Spool Size = 10M
163   Spool Directory =  @working_dir@
164   Device Type = VTape
165   Label Type = ansi
166 }
167
168 Device {
169   Name = FileStorage
170   Device Type = File
171   Media Type = FileMedia
172   Archive Device = @tmpdir@
173   AutomaticMount = yes;               # when device opened, read it
174   AlwaysOpen = yes;
175   RemovableMedia = yes;
176 # Maximum File Size = 1000000
177 }
178
179
180 # Send all messages to the Director, 
181 # mount messages also are sent to the email address
182 #
183 Messages {
184   Name = Standard
185   director = @hostname@-dir = all, !terminate
186 }
187
188 Cloud {
189   Name = DummyCloud
190   Driver = "File"
191   HostName = "@tmpdir@/cloud"
192   BucketName = "DummyBucket"
193   AccessKey = "DummyAccessKey"
194   SecretKey = "DummySecretKey"
195   Protocol = HTTPS
196   UriStyle = VirtualHost
197 }
198