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