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