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