]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/bacula-dir.conf.maxtime.in
Check for file count mismatch
[bacula/bacula] / regress / scripts / bacula-dir.conf.maxtime.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 = 1
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=</tmp/file-list
44  }
45 }
46
47 FileSet {
48  Name = FS_FIFO
49  Include {
50    Options {
51      read fifo = yes
52    }
53    # wait 60s per fifo
54    File=/tmp/fifo
55    File=/tmp/fifo2
56    File=/tmp/fifo3
57  }
58 }
59
60 Job {
61   Name = "RUN_MAXWAITTIME"
62   JobDefs = DefaultJob
63   FileSet = FS_TESTJOB
64   MaxWaitTime = 2min
65 }
66
67 Job {
68   Name = "RUN_MAXSTARTDELAY"
69   JobDefs = DefaultJob
70   FileSet = FS_TESTJOB
71   MaxStartDelay = 30sec
72   Pool = PoolA
73   Runbeforejob = "/bin/echo NEVER start this"
74 }
75
76 Job {
77   Name = "RUN_MAXRUNTIME"
78   JobDefs = DefaultJob
79   FileSet = FS_FIFO
80   MaxRunTime = 1min
81 }
82
83 # Client (File Services) to backup
84 Client {
85   Name = @hostname@-fd
86   Address = @hostname@
87   FDPort = 8102
88   Catalog = MyCatalog
89   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
90   File Retention = 30d                # 30 days
91   Job Retention = 180d                # six months
92   AutoPrune = yes                     # Prune expired Jobs/Files
93   Maximum Concurrent Jobs = 4
94 }
95
96 # Definiton of file storage device
97 Storage {
98   Name = File
99   Address = @hostname@                # N.B. Use a fully qualified name here
100   SDPort = 8103
101   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
102   Device = FileStorage
103   Media Type = File
104   Maximum Concurrent Jobs = 4
105 }
106
107 # Generic catalog service
108 Catalog {
109   Name = MyCatalog
110   dbname = regress; user = regress; password = ""
111 }
112
113
114 Messages {
115   Name = Standard
116   console = all, !skipped, !saved
117 }
118
119 # Default pool definition
120 Pool {
121   Name = Default
122   Pool Type = Backup
123   Recycle = yes                       # Bacula can automatically recycle Volumes
124   AutoPrune = yes                     # Prune expired volumes
125   Volume Retention = 365d             # one year
126 }
127
128
129 # Default pool definition
130 Pool {
131   Name = PoolA
132   Pool Type = Backup
133   Recycle = yes                       # Bacula can automatically recycle Volumes
134   AutoPrune = yes                     # Prune expired volumes
135   Volume Retention = 365d             # one year
136 }