]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-dir.conf.errors.in
ebl add sed stuff for errors-test
[bacula/bacula] / regress / scripts / bacula-dir.conf.errors.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 = 8101                # 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_LOCAL_INC_ERROR
42  Include {
43    File=</tmp/path/to/nowhere
44  }
45 }
46
47 Job {
48   Name = "LOCAL_INC_ERROR"
49   JobDefs = DefaultJob
50   FileSet = FS_LOCAL_INC_ERROR
51   RunBeforeJob = "/bin/echo RunBeforeJob"
52   ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
53   Run After Job = "/bin/echo RunAfterJob"
54   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
55 }
56
57 FileSet {
58  Name = FS_REMOTE_INC_ERROR
59  Include {
60    File="\</tmp/path/to/nowhere"
61  }
62 }
63
64 Job {
65   Name = "REMOTE_INC_ERROR"
66   JobDefs = DefaultJob
67   FileSet = FS_REMOTE_INC_ERROR
68   RunBeforeJob = "/bin/echo RunBeforeJob"
69   ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
70   Run After Job = "/bin/echo RunAfterJob"
71   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
72 }
73
74 FileSet {
75  Name = FS_LOCAL_INC_ERROR
76  Include { File=</tmp/file-list }
77  Exclude {
78    File=</tmp/path/to/nowhere
79  }
80 }
81
82 Job {
83   Name = "LOCAL_EXCL_ERROR"
84   JobDefs = DefaultJob
85   FileSet = FS_LOCAL_EXCL_ERROR
86   RunBeforeJob = "/bin/echo RunBeforeJob"
87   ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
88   Run After Job = "/bin/echo RunAfterJob"
89   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
90 }
91
92
93 FileSet {
94  Name = FS_REMOTE_EXCL_ERROR
95  Include { File=</tmp/file-list }
96  Exclude {
97    File="\</tmp/path/to/nowhere"
98  }
99 }
100
101 Job {
102   Name = "REMOTE_EXCL_ERROR"
103   JobDefs = DefaultJob
104   FileSet = FS_REMOTE_EXCL_ERROR
105   RunBeforeJob = "/bin/echo RunBeforeJob"
106   ClientRunBeforeJob = "/bin/echo ClientRunBeforeJob"
107   Run After Job = "/bin/echo RunAfterJob"
108   ClientRunAfterJob = "/bin/echo ClientRunAfterJob"
109 }
110
111 # Client (File Services) to backup
112 Client {
113   Name = @hostname@-fd
114   Address = @hostname@
115   FDPort = 8102
116   Catalog = MyCatalog
117   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
118   File Retention = 30d                # 30 days
119   Job Retention = 180d                # six months
120   AutoPrune = yes                     # Prune expired Jobs/Files
121   Maximum Concurrent Jobs = 4
122 }
123
124 # Definiton of file storage device
125 Storage {
126   Name = File
127   Address = @hostname@                # N.B. Use a fully qualified name here
128   SDPort = 8103
129   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
130   Device = FileStorage
131   Media Type = File
132   Maximum Concurrent Jobs = 4
133 }
134
135 # Generic catalog service
136 Catalog {
137   Name = MyCatalog
138   dbname = regress; user = regress; password = ""
139 }
140
141
142 Messages {
143   Name = Standard
144   console = all, !skipped, !saved
145 }
146
147 # Default pool definition
148 Pool {
149   Name = Default
150   Pool Type = Backup
151   Recycle = yes                       # Bacula can automatically recycle Volumes
152   AutoPrune = yes                     # Prune expired volumes
153   Volume Retention = 365d             # one year
154 }