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