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