]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/testa-bacula-dir.conf.in
Final changes
[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   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 = /tmp/bacula-restores
58 }
59
60
61 # List of files to be backed up
62 FileSet {
63   Name = "Full Set"
64   Include = signature=SHA1 { 
65     </tmp/file-list
66   }
67 }
68
69
70 # Client (File Services) to backup
71 Client {
72   Name = @hostname@-fd
73   Address = @hostname@
74   FDPort = 8102
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 = 8103
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 = 8103
96   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
97   Device = FileStorage1
98   Media Type = File1
99 }
100
101
102 # Generic catalog service
103 Catalog {
104   Name = MyCatalog
105   dbname = bacula; user = bacula; password = ""
106 }
107
108 # Reasonable message delivery -- send most everything to email address
109 #  and to the console
110 Messages {
111   Name = Standard
112   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
113   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: Intervention needed for %j\" %r"
114   MailOnError = @job_email@ = all, !terminate
115   operator = @job_email@ = mount
116   console = all, !skipped, !terminate
117
118   append = "@working_dir@/log" = all, !skipped
119 }
120
121 Messages {
122   Name = NoEmail
123   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula Regression\) %r\" -s \"Bacula: %t %e of %c %l\" %r"
124   console = all, !skipped, !terminate, !restored
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 }