]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/testa-bacula-dir.conf.in
Update smtp to bsmtp and console to bconsole
[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 = 8101                # 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 }
31
32
33 Job {
34   Name = "VerifyVolume"
35   Type = Verify
36   Level = VolumeToCatalog
37   Client=@hostname@-fd 
38   FileSet="Full Set"
39   Storage = File
40   Messages = Standard
41   Pool = Default
42   Write Bootstrap = "@working_dir@/NightlySave.bsr"
43 }
44
45
46
47 # Standard Restore template, to be changed by Console program
48 Job {
49   Name = "RestoreFiles"
50   Type = Restore
51   Client=@hostname@-fd 
52   FileSet="Full Set"
53   Storage = File
54   Messages = Standard
55   Pool = Default
56   Where = /tmp/bacula-restores
57 }
58
59
60 # List of files to be backed up
61 FileSet {
62   Name = "Full Set"
63   Include = signature=SHA1 { 
64     </tmp/file-list
65   }
66 }
67
68
69 # Client (File Services) to backup
70 Client {
71   Name = @hostname@-fd
72   Address = @hostname@
73   FDPort = 8102
74   Catalog = MyCatalog
75   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
76   File Retention = 30d                # 30 days
77   Job Retention = 180d                # six months
78   AutoPrune = yes                     # Prune expired Jobs/Files
79 }
80
81 # Definiton of file storage device
82 Storage {
83   Name = File
84   Address = @hostname@                # N.B. Use a fully qualified name here
85   SDPort = 8103
86   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
87   Device = FileStorage
88   Media Type = File
89 }
90
91 Storage {
92   Name = File1
93   Address = @hostname@                # N.B. Use a fully qualified name here
94   SDPort = 8103
95   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
96   Device = FileStorage1
97   Media Type = File1
98 }
99
100
101 # Generic catalog service
102 Catalog {
103   Name = MyCatalog
104   dbname = bacula; user = bacula; password = ""
105 }
106
107 # Reasonable message delivery -- send most everything to email address
108 #  and to the console
109 Messages {
110   Name = Standard
111   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
112   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
113   MailOnError = @job_email@ = all
114   operator = @job_email@ = mount
115   console = all, !skipped
116
117   append = "@working_dir@/log" = all, !skipped
118 }
119
120 Messages {
121   Name = NoEmail
122   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
123   console = all, !skipped
124
125   append = "@working_dir@/log" = all, !skipped
126 }
127
128     
129 # Default pool definition
130 Pool {
131   Name = Default
132   Pool Type = Backup
133   Recycle = yes                       # Bacula can automatically recycle Volumes
134   AutoPrune = yes                     # Prune expired volumes
135   Volume Retention = 365d             # one year
136   Accept Any Volume = yes             # write on any volume in the pool
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   Accept Any Volume = yes             # write on any volume in the pool
146   Maximum Volumes = 10
147   MaximumVolumeBytes = 10M
148   LabelFormat = Small
149 }