source: vanHelsing/trunk/src/test.conf@ 846

Last change on this file since 846 was 823, checked in by slederer, on Feb 12, 2010 at 2:50:32 PM

Funktionen für SOAP-API hinzugefügt, Entwurf für WSDL-File

File size: 10.4 KB
RevLine 
[823]1#
2# Default Bacula Director Configuration file
3#
4# The only thing that MUST be changed is to add one or more
5# file or directory names in the Include directive of the
6# FileSet resource.
7#
8# For Bacula release 2.4.4 (28 December 2008) -- suse 10
9#
10# You might also want to change the default email address
11# from root to your address. See the "mail" and "operator"
12# directives in the Messages resource.
13#
14
15
16
17# Filesets for backup of ESX VMs via vcb
18
19Director { # define myself
20 # test
21 Name = bacula-dir
22 DirAddresses = {
23 ip = { addr = 127.0.0.1; port = 9101 }
24 ip = { addr = 10.20.40.211; port = 9101 }
25 }
26# DIRport = 9101 # where we listen for UA connections
27 QueryFile = "/usr/lib64/bacula/query.sql"
28 WorkingDirectory = "/var/lib/bacula"
29 PidDirectory = "/var/run"
30 Maximum Concurrent Jobs = 10
31 Password = "0DntXXl7DVkNYYRApYdhKKoy2Huq1CVHwIRAKUwgNA86" # Console password
32 Messages = Daemon
33}
34
35
36
37JobDefs {
38 Name = "DefaultJob"
39 Type = Backup
40 Level = Incremental
41 Client = bacula-fd
42 FileSet = "Full Set"
43 Schedule = "WeeklyCycle"
44 Storage = FileStorage
45 Messages = Standard
46 Pool = FileStoragePool
47 Priority = 10
48}
49
50JobDefs {
51 Name = "ServerJob"
52 Type = Backup
53 Level = Incremental
54 Client = bacula-fd
55 FileSet = "Full Set"
56 Schedule = "WeeklyCycle"
57 Storage = FileStorage
58 Messages = Standard
59 Pool = FileStoragePool
60 Priority = 10
61}
62
63
64#
65# Define the main nightly save backup job
66# By default, this job will back up to disk in
67#Job {
68# Name = "Client1"
69# JobDefs = "DefaultJob"
70# Write Bootstrap = "/var/lib/bacula/Client1.bsr"
71#}
72
73#Job {
74# Name = "Client2"
75# Client = bacula2-fd
76# JobDefs = "DefaultJob"
77# Write Bootstrap = "/var/lib/bacula/Client2.bsr"
78#}
79
80# Backup the catalog database (after the nightly save)
81Job {
82 Name = "BackupCatalog"
83 JobDefs = "DefaultJob"
84 Level = Full
85 FileSet="Catalog"
86 Schedule = "WeeklyCycleAfterBackup"
87 # This creates an ASCII copy of the catalog
88 # WARNING!!! Passing the password via the command line is insecure.
89 # see comments in make_catalog_backup for details.
90 # Arguments to make_catalog_backup are:
91 # make_catalog_backup <database-name> <user-name> <password> <host>
92 RunBeforeJob = "/usr/lib64/bacula/make_catalog_backup bacula bacula"
93 # This deletes the copy of the catalog
94 RunAfterJob = "/usr/lib64/bacula/delete_catalog_backup"
95 Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
96 Priority = 11 # run after main backup
97}
98
99#
100# Standard Restore template, to be changed by Console program
101# Only one such job is needed for all Jobs/Clients/Storage ...
102#
103Job {
104 Name = "RestoreFiles"
105 Type = Restore
106 Client=bacula-fd
107 FileSet="Full Set"
108 Storage = FileStorage
109 Pool = FileStoragePool
110 Messages = Standard
111 Where = /bacula-restores
112 Client Run After Job = "\"C:/Programme/VMware/VMware Consolidated Backup Framework/vcbRestore.exe\" -h localhost -u dassit -p linuxlinux -s c:\\backups\\xp_mini"
113
114}
115
116
117# List of files to be backed up
118#FileSet {
119# Name = "Full Set"
120# Include {
121# Options {
122# signature = MD5
123# }
124#
125# Put your list of files here, preceded by 'File =', one per line
126# or include an external list with:
127#
128# File = <file-name
129#
130# Note: / backs up everything on the root partition.
131# if you have other partitons such as /usr or /home
132# you will probably want to add them too.
133#
134# By default this is defined to point to the Bacula build
135# directory to give a reasonable FileSet to backup to
136# disk storage during initial testing.
137#
138# File = /usr/src/packages/BUILD/bacula-2.4.4
139# }
140
141#
142# If you backup the root directory, the following two excluded
143# files can be useful
144#
145# Exclude {
146# File = /proc
147# File = /tmp
148# File = /.journal
149# File = /.fsck
150# }
151#}
152
153#
154# When to do the backups, full backup on first sunday of the month,
155# differential (i.e. incremental since full) every other sunday,
156# and incremental backups other days
157Schedule {
158 Name = "WeeklyCycle"
159 Run = Full 1st sun at 23:05
160 Run = Differential 2nd-5th sun at 23:05
161 Run = Incremental mon-sat at 23:05
162}
163
164# This schedule does the catalog. It starts after the WeeklyCycle
165Schedule {
166 Name = "WeeklyCycleAfterBackup"
167 Run = Full sun-sat at 23:10
168}
169
170
171
172Schedule {
173 Name = "Never"
174}
175
176Schedule {
177 Name = "DassITCycle"
178 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 1st fri at 21:07
179 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 2nd-5th fri at 21:45
180 Run = Level=Incremental Pool=FileStoragePool Storage=FileStorage mon-fri at 00:07
181}
182
183Schedule {
184 Name = "LaptopCycle"
185 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 1st fri at 10:30
186 Run = Level=Differential Pool=FileStoragePool Storage=FileStorage 2nd-5th fri at 12:00pm
187 Run = Level=Incremental Pool=FileStoragePool Storage=FileStorage mon-fri at 12:30pm
188}
189
190# www server backup durchführen
191Schedule {
192 Name = "www-cycle"
193 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 1st fri at 19:00
194 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 2nd-5th fri at 19:00
195 Run = Level=Incremental Pool=FileStoragePool Storage=FileStorage mon-fri at 23:30
196}
197
198Schedule {
199 Name = "ManuelaCycle"
200 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 1st thu at 10:30
201 Run = Level=Differential Pool=FileStoragePool Storage=FileStorage 2nd-5th thu at 12:00pm
202 Run = Level=Incremental Pool=FileStoragePool Storage=FileStorage mon,thu at 12:30pm
203}
204
205
206Schedule {
207 Name = "migrationcycle"
208 Run = Level=Full Pool=FileStoragePool Storage=FileStorage fri at 21:00
209}
210
211
212# Sicherung der Produktivmaschinen über VCB, 1. Samstag im Monat um 3:00
213Schedule {
214 Name = "vcb-cycle"
215 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 1st sat at 03:00
216}
217
218# Sicherung der Produktivmaschinen über VCB, 2. Samstag im Monat um 3:00
219Schedule {
220 Name = "vcb-cycle-migrate"
221 Run = Level=Full Pool=FileStoragePool Storage=FileStorage 2nd sat at 03:00
222}
223
224
225
226
227
228
229
230
231
232# This is the backup of the catalog
233FileSet {
234 Name = "Catalog"
235 Include {
236 Options {
237 signature = MD5
238 }
239 File = /var/lib/bacula/bacula.sql
240 }
241}
242
243Client {
244 Name = cryptoserver-fd
245 Address = cryptoserver
246 FDPort = 9102
247 Catalog = MyCatalog
248}
249
250Client {
251 Name = gaffel-fd
252 Address = gaffel
253 FDPort = 9102
254 Catalog = MyCatalog
255 Password = "3f580b8811dc920c0c34d060fe9e7f2d" # password for FileDaemon
256}
257
258
259# Backup the catalog database (after the nightly save)
260#Job {
261# Name = "BackupCatalog"
262# JobDefs = "DefaultJob"
263# Level = Full
264# FileSet="Catalog"
265# Schedule = "WeeklyCycleAfterBackup"
266# # This creates an ASCII copy of the catalog
267# RunBeforeJob = "/etc/bacula/make_catalog_backup bacula bacula"
268# # This deletes the copy of the catalog
269# RunAfterJob = "/etc/bacula/delete_catalog_backup"
270# Write Bootstrap = "/var/lib/bacula/BackupCatalog.bsr"
271# Priority = 11 # run after main backup
272# Client = bacula-fd
273#}
274
275
276## Backup the InterIura servers
277#Job {
278# Name = "iu-vtiger"
279# JobDefs = "ServerJob"
280# # This creates an ASCII copy of the catalog
281# Client Run Before Job = "/usr/local/bin/dump_db vtigercrm503 root vtiger"
282# # This deletes the copy of the catalog
283# Client Run After Job = "/usr/local/bin/delete_db_dump"
284# Write Bootstrap = "/var/lib/bacula/iu-vtiger.bsr"
285# Client = iu-vtiger-fd
286# FileSet = "iu-set"
287#}
288
289## Backup the InterIura servers
290#Job {
291# Name = "iu-wiki"
292# JobDefs = "ServerJob"
293# # This creates an ASCII copy of the catalog
294# Client RunBeforeJob = "/usr/local/bin/dump_db wikidb root InterIura512"
295# # This deletes the copy of the catalog
296# Client RunAfterJob = "/usr/local/bin/delete_db_dump"
297# Write Bootstrap = "/var/lib/bacula/iu-wiki.bsr"
298# Client = iu-wiki-fd
299# FileSet = "iu-set"
300#}
301
302
303
304
305#
306# Define the main nightly save backup job
307Job {
308 Name = "bacula"
309 JobDefs = "ServerJob"
310 Write Bootstrap = "/var/lib/bacula/bacula.bsr"
311 FileSet = "Full Set"
312 Client = bacula-fd
313# Spool Data = yes
314}
315
316Job {
317 Name = "ox6"
318 JobDefs = "ServerJob"
319 Description = "ox backup"
320 Write Bootstrap = "/var/lib/bacula/ox.bsr"
321 FileSet = "ox set"
322 Client = ox6-fd
323# Spool Data = yes
324 Client Run Before Job = "/usr/local/bin/mysqldump-all.sh"
325# Client Run Before Job = "/home/plone/dassIT/bin/repozo -BvzQ -r /home/plone/dassIT/backup/ -f /home/plone/dassIT/var/filestorage/Data.fs"
326}
327
328Job {
329 Name = "gemeinschaft"
330 JobDefs = "ServerJob"
331 Description = " backup"
332 Write Bootstrap = "/var/lib/bacula/gemeinschaft.bsr"
333 FileSet = "gemeinschaft set"
334 Client = gemeinschaft-fd
335# Spool Data = yes
336 Client Run Before Job = "/usr/local/bin/dump_mysqldb.sh"
337# Client Run Before Job = "/home/plone/dassIT/bin/repozo -BvzQ -r /home/plone/dassIT/backup/ -f /home/plone/dassIT/var/filestorage/Data.fs"
338}
339
340Job {
341 FileSet = "sfriedelfileset"
342 Name = "sfriedel"
343 Client = sfriedel-fd
344 JobDefs = "LaptopJob"
345 Write Bootstrap = "/var/lib/bacula/sfriedel.bsr"
346 Enabled = no
347}
348
349## Laptop Sebastian Lederer
350Job {
351 FileSet = "sledererfileset"
352 Name = "slederer"
353 Client = slederer-fd
354 JobDefs = "LaptopJob"
355 Write Bootstrap = "/var/lib/bacula/slederer.bsr"
356}
357
358
359## Laptop Torsten
360Job {
361 FileSet = "torstenfileset"
362 Name = "torsten"
363 Client = torsten-fd
364 JobDefs = "TorstenJob"
365 Write Bootstrap = "/var/lib/bacula/torsten.bsr"
366}
367
368
369Job {
370 Name = "futurama"
371 Client = futurama-fd
372 JobDefs = "ServerJob"
373 FileSet = "futurama set"
374 Write Bootstrap = "/var/lib/bacula/futurama.bsr"
375 Client Run Before Job = "/usr/local/bin/backup_database.sh 'buerokratiewikidb wikidb' /var/tmp/db_backup"
376}
377
378Job {
379 Name = "database1-dbs"
380 JobDefs = "ServerJob"
381 Level = Full
382 FileSet="database1 set dbs"
383 Client = database1-fd
384 # This creates a backup of the databases with pg_dump to fifos
385 Client Run Before Job = "/etc/bacula/prepare_postgres_backup.sh"
386 # This deletes the backup and fifo files
387 Client Run After Job = "/etc/bacula/cleanup_postgres_backup.sh"
388 Priority = 17 # run after main backup
389}
390
391Job {
392 Name = "virtualcenter"
393 Client = "virtualcenter-fd"
394 JobDefs = "ServerJob"
395 FileSet = "win2k3-fileset"
396 Write Bootstrap = "/var/lib/bacula/virtualcenter.bsr"
397}
398
399Job {
400 Name = "vcbproxy"
401 Client = "vcbproxy-fd"
402 JobDefs = "ServerJob"
403 FileSet = "vcbproxy-fileset"
404 Storage = TandbergT40
405 enabled = no
406 Write Bootstrap = "/var/lib/bacula/vcbproxy.bsr"
407}
408
409Job {
410 Name = "Archive"
411 Client = "trac-fd"
412 JobDefs = "Archive Job"
413 FileSet = "Archive Set"
414 Write Bootstrap = "/var/lib/bacula/archive.bsr"
415}
416
Note: See TracBrowser for help on using the repository browser.