]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/virtualfull-extreme-bacula-dir.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / virtualfull-extreme-bacula-dir.conf.in
1 #
2 #  Test for finding Virtual Full errors.  Essential
3 #    parts supplied by Arno
4 #
5
6 Director {                            # define myself
7   Name = @hostname@-dir
8   DIRPort = @dirport@                # where we listen for UA connections
9   QueryFile = "@scriptdir@/query.sql"
10   WorkingDirectory = "@working_dir@"
11   PidDirectory = "@piddir@"
12   PluginDirectory = "@sbindir@"
13   Maximum Concurrent Jobs = 51
14   Heartbeat Interval = 330
15   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
16   Messages = Standard
17 }
18
19 File Set {
20   Name = "IncrData"
21   Include {
22     Options {
23       Signature = SHA1
24       Accurate = pnugsiamc
25       Verify = pnugsiamc1
26       No atime = Yes
27       ACL Support = Yes
28       Compression = LZO
29     }
30     File =  <@tmpdir@/file-list
31   }
32 }
33
34 Client {
35   Name = Fake
36   Address = @hostname@
37   FDPort = @fdport@
38   Catalog = MyCatalog
39   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
40   Maximum Concurrent Jobs = 20
41 }
42
43 Job {
44   Name = "HotMig"
45   Type = Migrate
46   Client = Fake
47   File Set = "IncrData"
48   Messages = "Standard"
49   Priority = 10
50   Maximum Concurrent Jobs = 2
51   Enabled = No
52   Pool = "Hot1"
53   Selection Type = Job
54   Selection Pattern = ".*"
55 }
56
57 # Automated configuration for Hot-test Virtual Full Backups
58 Job {
59   Name = "HotV01"
60   Type = Backup
61   Level = Incremental
62   Client = "HotV01-fd"
63   File Set = "IncrData"
64   Accurate = Yes
65   Storage = File
66   Pool = "Hot1"
67   Messages = "Standard"
68   Priority = 10
69   Write Bootstrap = "@working_dir@/%n.bsr"
70   Enabled = No
71   Maximum Concurrent Jobs = 1
72 }
73
74 Client {
75   Name = HotV01-fd
76   Address = @hostname@
77   FDPort = @fdport@
78   Catalog = MyCatalog
79   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"
80   File Retention = 6 months
81   Job Retention = 6 months            # six months
82   AutoPrune = yes                     # Prune expired Jobs/Files
83 }
84
85
86 Job {
87   Name = "HotV02"
88   Type = Backup
89   Level = Incremental
90   Client = "HotV02-fd"
91   File Set = "IncrData"
92   Accurate = Yes
93   Storage = File
94   Pool = "Hot1"
95   Messages = "Standard"
96   Priority = 10
97   Write Bootstrap = "@working_dir@/%n.bsr"
98   Enabled = No
99   Maximum Concurrent Jobs = 1
100 }
101
102 Client {
103   Name = HotV02-fd
104   Address = @hostname@
105   FDPort = @fdport@
106   Catalog = MyCatalog
107   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
108   File Retention = 6 months
109   Job Retention = 6 months            # six months
110   AutoPrune = yes                     # Prune expired Jobs/Files
111 }
112
113
114 Job {
115   Name = "HotV03"
116   Type = Backup
117   Level = Incremental
118   Client = "HotV03-fd"
119   File Set = "IncrData"
120   Accurate = Yes
121   Storage = File
122   Pool = "Hot1"
123   Messages = "Standard"
124   Priority = 10
125   Write Bootstrap = "@working_dir@/%n.bsr"
126   Enabled = No
127   Maximum Concurrent Jobs = 1
128 }
129
130 Client {
131   Name = HotV03-fd
132   Address = @hostname@
133   FDPort = @fdport@
134   Catalog = MyCatalog
135   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
136   File Retention = 6 months
137   Job Retention = 6 months            # six months
138   AutoPrune = yes                     # Prune expired Jobs/Files
139 }
140
141
142 Job {
143   Name = "HotV04"
144   Type = Backup
145   Level = Incremental
146   Client = "HotV04-fd"
147   File Set = "IncrData"
148   Accurate = Yes
149   Storage = File
150   Pool = "Hot1"
151   Messages = "Standard"
152   Priority = 10
153   Write Bootstrap = "@working_dir@/%n.bsr"
154   Enabled = No
155   Maximum Concurrent Jobs = 1
156 }
157
158 Client {
159   Name = HotV04-fd
160   Address = @hostname@
161   FDPort = @fdport@
162   Catalog = MyCatalog
163   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
164   File Retention = 6 months
165   Job Retention = 6 months            # six months
166   AutoPrune = yes                     # Prune expired Jobs/Files
167 }
168
169
170 Job {
171   Name = "HotV05"
172   Type = Backup
173   Level = Incremental
174   Client = "HotV05-fd"
175   File Set = "IncrData"
176   Accurate = Yes
177   Storage = File
178   Pool = "Hot1"
179   Messages = "Standard"
180   Priority = 10
181   Write Bootstrap = "@working_dir@/%n.bsr"
182   Enabled = No
183   Maximum Concurrent Jobs = 1
184 }
185
186 Client {
187   Name = HotV05-fd
188   Address = @hostname@
189   FDPort = @fdport@
190   Catalog = MyCatalog
191   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
192   File Retention = 6 months
193   Job Retention = 6 months            # six months
194   AutoPrune = yes                     # Prune expired Jobs/Files
195 }
196
197
198 Job {
199   Name = "HotV06"
200   Type = Backup
201   Level = Incremental
202   Client = "HotV06-fd"
203   File Set = "IncrData"
204   Accurate = Yes
205   Storage = File
206   Pool = "Hot1"
207   Messages = "Standard"
208   Priority = 10
209   Write Bootstrap = "@working_dir@/%n.bsr"
210   Enabled = No
211   Maximum Concurrent Jobs = 1
212 }
213
214 Client {
215   Name = HotV06-fd
216   Address = @hostname@
217   FDPort = @fdport@
218   Catalog = MyCatalog
219   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
220   File Retention = 6 months
221   Job Retention = 6 months            # six months
222   AutoPrune = yes                     # Prune expired Jobs/Files
223 }
224
225
226 Job {
227   Name = "HotV07"
228   Type = Backup
229   Level = Incremental
230   Client = "HotV07-fd"
231   File Set = "IncrData"
232   Accurate = Yes
233   Storage = File
234   Pool = "Hot1"
235   Messages = "Standard"
236   Priority = 10
237   Write Bootstrap = "@working_dir@/%n.bsr"
238   Enabled = No
239   Maximum Concurrent Jobs = 1
240 }
241
242 Client {
243   Name = HotV07-fd
244   Address = @hostname@
245   FDPort = @fdport@
246   Catalog = MyCatalog
247   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
248   File Retention = 6 months
249   Job Retention = 6 months            # six months
250   AutoPrune = yes                     # Prune expired Jobs/Files
251 }
252
253
254 Job {
255   Name = "HotV08"
256   Type = Backup
257   Level = Incremental
258   Client = "HotV08-fd"
259   File Set = "IncrData"
260   Accurate = Yes
261   Storage = File
262   Pool = "Hot1"
263   Messages = "Standard"
264   Priority = 10
265   Write Bootstrap = "@working_dir@/%n.bsr"
266   Enabled = No
267   Maximum Concurrent Jobs = 1
268 }
269
270 Client {
271   Name = HotV08-fd
272   Address = @hostname@
273   FDPort = @fdport@
274   Catalog = MyCatalog
275   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
276   File Retention = 6 months
277   Job Retention = 6 months            # six months
278   AutoPrune = yes                     # Prune expired Jobs/Files
279 }
280
281
282 Job {
283   Name = "HotV09"
284   Type = Backup
285   Level = Incremental
286   Client = "HotV09-fd"
287   File Set = "IncrData"
288   Accurate = Yes
289   Storage = File
290   Pool = "Hot1"
291   Messages = "Standard"
292   Priority = 10
293   Write Bootstrap = "@working_dir@/%n.bsr"
294   Enabled = No
295   Maximum Concurrent Jobs = 1
296 }
297
298 Client {
299   Name = HotV09-fd
300   Address = @hostname@
301   FDPort = @fdport@
302   Catalog = MyCatalog
303   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
304   File Retention = 6 months
305   Job Retention = 6 months            # six months
306   AutoPrune = yes                     # Prune expired Jobs/Files
307 }
308
309
310 Job {
311   Name = "HotV10"
312   Type = Backup
313   Level = Incremental
314   Client = "HotV10-fd"
315   File Set = "IncrData"
316   Accurate = Yes
317   Storage = File
318   Pool = "Hot1"
319   Messages = "Standard"
320   Priority = 10
321   Write Bootstrap = "@working_dir@/%n.bsr"
322   Enabled = No
323   Maximum Concurrent Jobs = 1
324 }
325
326 Client {
327   Name = HotV10-fd
328   Address = @hostname@
329   FDPort = @fdport@
330   Catalog = MyCatalog
331   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
332   File Retention = 6 months
333   Job Retention = 6 months            # six months
334   AutoPrune = yes                     # Prune expired Jobs/Files
335 }
336
337
338 Job {
339   Name = "HotV11"
340   Type = Backup
341   Level = Incremental
342   Client = "HotV11-fd"
343   File Set = "IncrData"
344   Accurate = Yes
345   Storage = File
346   Pool = "Hot1"
347   Messages = "Standard"
348   Priority = 10
349   Write Bootstrap = "@working_dir@/%n.bsr"
350   Enabled = No
351   Maximum Concurrent Jobs = 1
352 }
353
354 Client {
355   Name = HotV11-fd
356   Address = @hostname@
357   FDPort = @fdport@
358   Catalog = MyCatalog
359   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
360   File Retention = 6 months
361   Job Retention = 6 months            # six months
362   AutoPrune = yes                     # Prune expired Jobs/Files
363 }
364
365
366 Job {
367   Name = "HotV12"
368   Type = Backup
369   Level = Incremental
370   Client = "HotV12-fd"
371   File Set = "IncrData"
372   Accurate = Yes
373   Storage = File
374   Pool = "Hot1"
375   Messages = "Standard"
376   Priority = 10
377   Write Bootstrap = "@working_dir@/%n.bsr"
378   Enabled = No
379   Maximum Concurrent Jobs = 1
380 }
381
382 Client {
383   Name = HotV12-fd
384   Address = @hostname@
385   FDPort = @fdport@
386   Catalog = MyCatalog
387   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
388   File Retention = 6 months
389   Job Retention = 6 months            # six months
390   AutoPrune = yes                     # Prune expired Jobs/Files
391 }
392
393
394 Job {
395   Name = "HotV13"
396   Type = Backup
397   Level = Incremental
398   Client = "HotV13-fd"
399   File Set = "IncrData"
400   Accurate = Yes
401   Storage = File
402   Pool = "Hot1"
403   Messages = "Standard"
404   Priority = 10
405   Write Bootstrap = "@working_dir@/%n.bsr"
406   Enabled = No
407   Maximum Concurrent Jobs = 1
408 }
409
410 Client {
411   Name = HotV13-fd
412   Address = @hostname@
413   FDPort = @fdport@
414   Catalog = MyCatalog
415   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
416   File Retention = 6 months
417   Job Retention = 6 months            # six months
418   AutoPrune = yes                     # Prune expired Jobs/Files
419 }
420
421
422 Job {
423   Name = "HotV14"
424   Type = Backup
425   Level = Incremental
426   Client = "HotV14-fd"
427   File Set = "IncrData"
428   Accurate = Yes
429   Storage = File
430   Pool = "Hot1"
431   Messages = "Standard"
432   Priority = 10
433   Write Bootstrap = "@working_dir@/%n.bsr"
434   Enabled = No
435   Maximum Concurrent Jobs = 1
436 }
437
438 Client {
439   Name = HotV14-fd
440   Address = @hostname@
441   FDPort = @fdport@
442   Catalog = MyCatalog
443   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
444   File Retention = 6 months
445   Job Retention = 6 months            # six months
446   AutoPrune = yes                     # Prune expired Jobs/Files
447 }
448
449
450 Job {
451   Name = "HotV15"
452   Type = Backup
453   Level = Incremental
454   Client = "HotV15-fd"
455   File Set = "IncrData"
456   Accurate = Yes
457   Storage = File
458   Pool = "Hot1"
459   Messages = "Standard"
460   Priority = 10
461   Write Bootstrap = "@working_dir@/%n.bsr"
462   Enabled = No
463   Maximum Concurrent Jobs = 1
464 }
465
466 Client {
467   Name = HotV15-fd
468   Address = @hostname@
469   FDPort = @fdport@
470   Catalog = MyCatalog
471   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
472   File Retention = 6 months
473   Job Retention = 6 months            # six months
474   AutoPrune = yes                     # Prune expired Jobs/Files
475 }
476
477
478 Job {
479   Name = "HotV16"
480   Type = Backup
481   Level = Incremental
482   Client = "HotV16-fd"
483   File Set = "IncrData"
484   Accurate = Yes
485   Storage = File
486   Pool = "Hot1"
487   Messages = "Standard"
488   Priority = 10
489   Write Bootstrap = "@working_dir@/%n.bsr"
490   Enabled = No
491   Maximum Concurrent Jobs = 1
492 }
493
494 Client {
495   Name = HotV16-fd
496   Address = @hostname@
497   FDPort = @fdport@
498   Catalog = MyCatalog
499   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
500   File Retention = 6 months
501   Job Retention = 6 months            # six months
502   AutoPrune = yes                     # Prune expired Jobs/Files
503 }
504
505
506 Job {
507   Name = "HotV17"
508   Type = Backup
509   Level = Incremental
510   Client = "HotV17-fd"
511   File Set = "IncrData"
512   Accurate = Yes
513   Storage = File
514   Pool = "Hot1"
515   Messages = "Standard"
516   Priority = 10
517   Write Bootstrap = "@working_dir@/%n.bsr"
518   Enabled = No
519   Maximum Concurrent Jobs = 1
520 }
521
522 Client {
523   Name = HotV17-fd
524   Address = @hostname@
525   FDPort = @fdport@
526   Catalog = MyCatalog
527   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
528   File Retention = 6 months
529   Job Retention = 6 months            # six months
530   AutoPrune = yes                     # Prune expired Jobs/Files
531 }
532
533
534 Job {
535   Name = "HotV18"
536   Type = Backup
537   Level = Incremental
538   Client = "HotV18-fd"
539   File Set = "IncrData"
540   Accurate = Yes
541   Storage = File
542   Pool = "Hot1"
543   Messages = "Standard"
544   Priority = 10
545   Write Bootstrap = "@working_dir@/%n.bsr"
546   Enabled = No
547   Maximum Concurrent Jobs = 1
548 }
549
550 Client {
551   Name = HotV18-fd
552   Address = @hostname@
553   FDPort = @fdport@
554   Catalog = MyCatalog
555   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
556   File Retention = 6 months
557   Job Retention = 6 months            # six months
558   AutoPrune = yes                     # Prune expired Jobs/Files
559 }
560
561
562 Job {
563   Name = "HotV19"
564   Type = Backup
565   Level = Incremental
566   Client = "HotV19-fd"
567   File Set = "IncrData"
568   Accurate = Yes
569   Storage = File
570   Pool = "Hot1"
571   Messages = "Standard"
572   Priority = 10
573   Write Bootstrap = "@working_dir@/%n.bsr"
574   Enabled = No
575   Maximum Concurrent Jobs = 1
576 }
577
578 Client {
579   Name = HotV19-fd
580   Address = @hostname@
581   FDPort = @fdport@
582   Catalog = MyCatalog
583   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
584   File Retention = 6 months
585   Job Retention = 6 months            # six months
586   AutoPrune = yes                     # Prune expired Jobs/Files
587 }
588
589
590 Job {
591   Name = "HotV20"
592   Type = Backup
593   Level = Incremental
594   Client = "HotV20-fd"
595   File Set = "IncrData"
596   Accurate = Yes
597   Storage = File
598   Pool = "Hot1"
599   Messages = "Standard"
600   Priority = 10
601   Write Bootstrap = "@working_dir@/%n.bsr"
602   Enabled = No
603   Maximum Concurrent Jobs = 1
604 }
605
606 Client {
607   Name = HotV20-fd
608   Address = @hostname@
609   FDPort = @fdport@
610   Catalog = MyCatalog
611   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
612   File Retention = 6 months
613   Job Retention = 6 months            # six months
614   AutoPrune = yes                     # Prune expired Jobs/Files
615 }
616
617
618 Storage {
619   Name = File
620   Address = @hostname@
621   SDPort = @sdport@
622   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
623   Device = VirtCh
624   Media Type = VirtMedia1
625   Autochanger = Yes
626   Maximum Concurrent Jobs = 10
627   Maximum Concurrent Read Jobs = 3
628 }
629
630 Storage {
631   Name = VirtA
632   Address = @hostname@
633   SDPort = @sdport@
634   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
635   Device = VirtCh
636   Media Type = VirtMedia0
637   Autochanger = Yes
638   Maximum Concurrent Jobs = 10
639 }
640
641 Storage {
642   Name = VirtB
643   Address = @hostname@
644   SDPort = @sdport@
645   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
646   Device = VirtCh
647   Media Type = VirtMedia1
648   Autochanger = Yes
649   Maximum Concurrent Jobs = 50
650   Maximum Concurrent Read Jobs = 3
651 }
652
653
654 Pool {
655   Name = "Hot1"
656   Pool Type = Backup
657   Storage = "VirtB"
658   Job Retention = 1 year
659   File Retention = 1 year
660   Volume Retention = 1 year
661   Maximum Volume Jobs = 7
662   Label Format = "Hot1-"
663   Next Pool = "Hot2"
664 }
665
666 Pool {
667   Name = "Hot2"
668   Pool Type = Backup
669   Storage = "VirtB"
670   Job Retention = 1 year
671   File Retention = 1 year
672   Volume Retention = 1 year
673   Maximum Volume Jobs = 7
674   Label Format = "Hot2-"
675   Next Pool = "Hot3"
676 }
677
678 Pool {
679   Name = "Hot3"
680   Pool Type = Backup
681   Storage = "VirtA"
682   Job Retention = 1 year
683   File Retention = 1 year
684   Volume Retention = 1 year
685   Maximum Volume Jobs = 1
686   Label Format = "Hot3-"
687 }
688
689
690 # Standard Restore template, to be changed by Console program
691 Job {
692   Name = "RestoreFiles"
693   Type = Restore
694   Client = Fake
695   FileSet = "Full Set"
696   Storage = File
697   Messages = Standard
698   Pool = Hot1
699   Where = @tmpdir@/bacula-restores
700   Max Run Time = 30min
701 }
702
703 Job {
704   Name = VerifyData
705   Type = Verify
706   Level = Data
707   Client = HotV01-fd
708   FileSet = "Full Set"
709   Storage = File
710   Messages = Standard
711   Pool = Hot1
712 }
713
714 # List of files to be backed up
715 FileSet {
716   Name = "Full Set"
717   Include {  
718      Options { signature=MD5;
719        verify=pins5 }
720      File =  <@tmpdir@/file-list
721   }
722 }
723
724
725 # Generic catalog service
726 Catalog {
727   Name = MyCatalog
728   dbname = @db_name@; user = @db_user@; password = "@db_password@"
729 }
730
731 # Reasonable message delivery -- send most everything to email address
732 #  and to the console
733 Messages {
734   Name = Standard
735   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
736   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
737 # MailOnError = @job_email@ = all
738 # operator = @job_email@ = mount
739   console = all, !skipped, !terminate, !restored
740 #
741 # WARNING! the following will create a file that you must cycle from
742 #          time to time as it will grow indefinitely. However, it will
743 #          also keep all your messages if the scroll off the console.
744 #
745   append = "@working_dir@/log" = all, !skipped
746   catalog = all, !skipped
747 }