]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-dir.conf.accurate.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[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     Signature = MD5
45     Verify = mc
46     Accurate = mcs5
47    }
48    File=<@tmpdir@/file-list
49  }
50 }
51
52 FileSet {
53  Name = FS_TESTJOB2
54  Include {
55    Options {
56     Signature = MD5
57     Verify = mc
58     strippath=1
59    }
60    File=<@tmpdir@/file-list
61  }
62 }
63
64 FileSet {
65  Name = FS_TESTJOB_ADVANCE
66  Include {
67    Options {
68     Signature = MD5
69     Verify = mcpgu
70    }
71    File=<@tmpdir@/file-list
72  }
73 }
74
75 Job {
76   Accurate = yes
77   Name = backup
78   JobDefs = DefaultJob
79   FileSet = FS_TESTJOB
80 }
81
82 Job {
83   Accurate = yes
84   Name = backup_advance
85   JobDefs = DefaultJob
86   FileSet = FS_TESTJOB_ADVANCE
87 }
88
89
90 # Standard Restore template, to be changed by Console program
91 Job {
92   Name = "RestoreFiles"
93   Type = Restore
94   Client=@hostname@-fd
95   FileSet= FS_TESTJOB
96   Storage = File
97   Messages = Standard
98   Pool = Default
99   Where = @tmpdir@/bacula-restores
100 }
101
102 # Client (File Services) to backup
103 Client {
104   Name = @hostname@-fd
105   Address = @hostname@
106   FDPort = @fdport@
107   Catalog = MyCatalog
108   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
109   File Retention = 30d                # 30 days
110   Job Retention = 180d                # six months
111   AutoPrune = yes                     # Prune expired Jobs/Files
112   Maximum Concurrent Jobs = 4
113 }
114
115 # Definiton of file storage device
116 Storage {
117   Name = File
118   Address = @hostname@                # N.B. Use a fully qualified name here
119   SDPort = @sdport@
120   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
121   Device = FileStorage
122   Media Type = File
123   Maximum Concurrent Jobs = 4
124 }
125
126 # Generic catalog service
127 Catalog {
128   Name = MyCatalog
129   @libdbi@
130   dbname = @db_name@; user = @db_user@; password = "@db_password@"
131 }
132
133
134 Messages {
135   Name = Standard
136   console = all, !skipped, saved
137   catalog = all, !skipped
138 }
139
140 # Default pool definition
141 Pool {
142   Name = Default
143   Pool Type = Backup
144   Recycle = yes                       # Bacula can automatically recycle Volumes
145   AutoPrune = yes                     # Prune expired volumes
146   Volume Retention = 365d             # one year
147 }
148 Pool {
149   Name = Other
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 }