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