]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-dir.conf.accurate.in
Apply patch from Thomas Mueller that adds db parameters to config file
[bacula/bacula] / regress / scripts / bacula-dir.conf.accurate.in
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 1.39.27 (24 October 2006) -- debian testing/unstable
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 Director {                            # define myself
16   Name = @hostname@-dir
17   DIRPort = @dirport@                # where we listen for UA connections
18   QueryFile = "@scriptdir@/query.sql"
19   WorkingDirectory = "@working_dir@"
20   PidDirectory = "@piddir@"
21   SubSysDirectory = "@subsysdir@"
22   Maximum Concurrent Jobs = 4
23   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
24   Messages = Standard
25 }
26
27 JobDefs {
28   Name = "DefaultJob"
29   Type = Backup
30   Level = Incremental
31   Client = @hostname@-fd 
32   FileSet = FS_TESTJOB
33   Storage = File
34   Messages = Standard
35   Pool = Default
36   Priority = 10
37   Maximum Concurrent Jobs = 16
38 }
39
40 FileSet {
41  Name = FS_TESTJOB
42  Include {
43    Options {
44     Verify = mc
45    }
46    File=<@tmpdir@/file-list
47  }
48 }
49
50 FileSet {
51  Name = FS_TESTJOB2
52  Include {
53    Options {
54     Verify = mc
55     strippath=1
56    }
57    File=<@tmpdir@/file-list
58  }
59 }
60
61 FileSet {
62  Name = FS_TESTJOB_ADVANCE
63  Include {
64    Options {
65     Verify = mcpgu
66    }
67    File=<@tmpdir@/file-list
68  }
69 }
70
71 Job {
72   Accurate = yes
73   Name = backup
74   JobDefs = DefaultJob
75   FileSet = FS_TESTJOB
76 }
77
78 Job {
79   Accurate = yes
80   Name = backup_advance
81   JobDefs = DefaultJob
82   FileSet = FS_TESTJOB_ADVANCE
83 }
84
85
86 # Standard Restore template, to be changed by Console program
87 Job {
88   Name = "RestoreFiles"
89   Type = Restore
90   Client=@hostname@-fd
91   FileSet= FS_TESTJOB
92   Storage = File
93   Messages = Standard
94   Pool = Default
95   Where = @tmpdir@/bacula-restores
96 }
97
98 # Client (File Services) to backup
99 Client {
100   Name = @hostname@-fd
101   Address = @hostname@
102   FDPort = @fdport@
103   Catalog = MyCatalog
104   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
105   File Retention = 30d                # 30 days
106   Job Retention = 180d                # six months
107   AutoPrune = yes                     # Prune expired Jobs/Files
108   Maximum Concurrent Jobs = 4
109 }
110
111 # Definiton of file storage device
112 Storage {
113   Name = File
114   Address = @hostname@                # N.B. Use a fully qualified name here
115   SDPort = @sdport@
116   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
117   Device = FileStorage
118   Media Type = File
119   Maximum Concurrent Jobs = 4
120 }
121
122 # Generic catalog service
123 Catalog {
124   Name = MyCatalog
125   @libdbi@
126   dbname = @db_name@; user = @db_user@; password = "@db_password@"
127 }
128
129
130 Messages {
131   Name = Standard
132   console = all, !skipped, saved
133 }
134
135 # Default pool definition
136 Pool {
137   Name = Default
138   Pool Type = Backup
139   Recycle = yes                       # Bacula can automatically recycle Volumes
140   AutoPrune = yes                     # Prune expired volumes
141   Volume Retention = 365d             # one year
142 }
143 Pool {
144   Name = Other
145   Pool Type = Backup
146   Recycle = yes                       # Bacula can automatically recycle Volumes
147   AutoPrune = yes                     # Prune expired volumes
148   Volume Retention = 365d             # one year
149 }