]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/testa-bacula-dir.conf.in
ebl update for next-vol test
[bacula/bacula] / regress / scripts / testa-bacula-dir.conf.in
1 #
2 # TestA   Bacula Director Configuration file
3 #
4 #  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
5 #
6
7 Director {                            # define myself
8   Name = @hostname@-dir
9   DIRPort = @dirport@                # where we listen for UA connections
10   QueryFile = "@scriptdir@/query.sql"
11   WorkingDirectory = "@working_dir@"
12   PidDirectory = "@piddir@"
13   SubSysDirectory = "@subsysdir@"
14   Maximum Concurrent Jobs = 1
15   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
16   Messages = Standard
17 }
18
19
20 Job {
21   Name = "MultiVol"
22   Type = Backup
23   Client=@hostname@-fd 
24   Level = Full
25   FileSet="Full Set"
26   Storage = File 
27   Messages = Standard
28   Write Bootstrap = "@working_dir@/SmallVols.bsr"
29   Pool = SmallVols
30   SpoolData = yes
31 }
32
33
34 Job {
35   Name = "VerifyVolume"
36   Type = Verify
37   Level = VolumeToCatalog
38   Client=@hostname@-fd 
39   FileSet="Full Set"
40   Storage = File
41   Messages = Standard
42   Pool = Default
43   Write Bootstrap = "@working_dir@/NightlySave.bsr"
44 }
45
46
47
48 # Standard Restore template, to be changed by Console program
49 Job {
50   Name = "RestoreFiles"
51   Type = Restore
52   Client=@hostname@-fd 
53   FileSet="Full Set"
54   Storage = File
55   Messages = Standard
56   Pool = Default
57   Where = @tmpdir@/bacula-restores
58 }
59
60
61 # List of files to be backed up
62 FileSet {
63   Name = "Full Set"
64   Include { Options { signature=SHA1 }
65     File =<@tmpdir@/file-list
66   }
67 }
68
69
70 # Client (File Services) to backup
71 Client {
72   Name = @hostname@-fd
73   Address = @hostname@
74   FDPort = @fdport@
75   Catalog = MyCatalog
76   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
77   File Retention = 30d                # 30 days
78   Job Retention = 180d                # six months
79   AutoPrune = yes                     # Prune expired Jobs/Files
80 }
81
82 # Definiton of file storage device
83 Storage {
84   Name = File
85   Address = @hostname@                # N.B. Use a fully qualified name here
86   SDPort = @sdport@
87   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
88   Device = FileStorage
89   Media Type = File
90 }
91
92 Storage {
93   Name = File1
94   Address = @hostname@                # N.B. Use a fully qualified name here
95   SDPort = @sdport@
96   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
97   Device = FileStorage1
98   Media Type = File1
99 }
100
101
102 # Generic catalog service
103 Catalog {
104   Name = MyCatalog
105   @libdbi@
106   dbname = @db_name@; user = @db_user@; password = "@db_password@"
107 }
108
109 # Reasonable message delivery -- send most everything to email address
110 #  and to the console
111 Messages {
112   Name = Standard
113   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
114   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
115 # MailOnError = @job_email@ = all, !terminate
116 # operator = @job_email@ = mount
117   console = all, !skipped, !terminate
118
119   append = "@working_dir@/log" = all, !skipped
120 }
121
122 Messages {
123   Name = NoEmail
124   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
125   console = all, !skipped, !terminate, !restored
126   append = "@working_dir@/log" = all, !skipped
127 }
128
129     
130 # Default pool definition
131 Pool {
132   Name = Default
133   Pool Type = Backup
134   Recycle = yes                       # Bacula can automatically recycle Volumes
135   AutoPrune = yes                     # Prune expired volumes
136   Volume Retention = 365d             # one year
137 }
138
139 Pool {
140   Name = SmallVols
141   Pool Type = Backup
142   Recycle = yes                       # Bacula can automatically recycle Volumes
143   AutoPrune = yes                     # Prune expired volumes
144   Volume Retention = 365d             # one year
145   Maximum Volumes = 10
146   MaximumVolumeBytes = 10M
147   LabelFormat = Small
148 }