]> git.sur5r.net Git - bacula/bacula/blob - regress/scripts/testa-bacula-dir.conf.in
Make out of freespace non-fatal for removable devices -- i.e. behaves like tape
[bacula/bacula] / regress / scripts / testa-bacula-dir.conf.in
1 #
2 # TestA   Bacula Director Configuration file
3 #
4 #  For Bacula release 1.30 (12 April 2003) -- redhat 7.3
5 #
6
7 Director {                            # define myself
8   Name = @hostname@-dir
9   DIRPort = @dirport@                # where we listen for UA connections
10   QueryFile = "@scriptdir@/query.sql"
11   WorkingDirectory = "@working_dir@"
12   PidDirectory = "@piddir@"
13   SubSysDirectory = "@subsysdir@"
14   Maximum Concurrent Jobs = 1
15   Password = "pNvX1WiXnwv2C/F7E52LGvw6rKjbbPvu2kyuPa9pVaL3"         # Console password
16   Messages = Standard
17 }
18
19
20 Job {
21   Name = "MultiVol"
22   Type = Backup
23   Client=@hostname@-fd 
24   Level = Full
25   FileSet="Full Set"
26   Storage = File 
27   Messages = Standard
28   Write Bootstrap = "@working_dir@/SmallVols.bsr"
29   Pool = SmallVols
30   SpoolData = yes
31   Max Run Time = 30min
32 }
33
34
35 Job {
36   Name = "VerifyVolume"
37   Type = Verify
38   Level = VolumeToCatalog
39   Client=@hostname@-fd 
40   FileSet="Full Set"
41   Storage = File
42   Messages = Standard
43   Pool = Default
44   Write Bootstrap = "@working_dir@/NightlySave.bsr"
45   Max Run Time = 30min
46 }
47
48
49
50 # Standard Restore template, to be changed by Console program
51 Job {
52   Name = "RestoreFiles"
53   Type = Restore
54   Client=@hostname@-fd 
55   FileSet="Full Set"
56   Storage = File
57   Messages = Standard
58   Pool = Default
59   Where = @tmpdir@/bacula-restores
60   Max Run Time = 30min
61 }
62
63
64 # List of files to be backed up
65 FileSet {
66   Name = "Full Set"
67   Include { Options { signature=SHA1 }
68     File =<@tmpdir@/file-list
69   }
70 }
71
72
73 # Client (File Services) to backup
74 Client {
75   Name = @hostname@-fd
76   Address = @hostname@
77   FDPort = @fdport@
78   Catalog = MyCatalog
79   Password = "xevrjURYoCHhn26RaJoWbeWXEY/a3VqGKp/37tgWiuHc"          # password for FileDaemon
80   File Retention = 30d                # 30 days
81   Job Retention = 180d                # six months
82   AutoPrune = yes                     # Prune expired Jobs/Files
83 }
84
85 # Definiton of file storage device
86 Storage {
87   Name = File
88   Address = @hostname@                # N.B. Use a fully qualified name here
89   SDPort = @sdport@
90   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
91   Device = FileStorage
92   Media Type = File
93 }
94
95 Storage {
96   Name = File1
97   Address = @hostname@                # N.B. Use a fully qualified name here
98   SDPort = @sdport@
99   Password = "ccV3lVTsQRsdIUGyab0N4sMDavui2hOBkmpBU0aQKOr9"
100   Device = FileStorage1
101   Media Type = File1
102 }
103
104
105 # Generic catalog service
106 Catalog {
107   Name = MyCatalog
108   @libdbi@
109   dbname = @db_name@; user = @db_user@; password = "@db_password@"
110 }
111
112 # Reasonable message delivery -- send most everything to email address
113 #  and to the console
114 Messages {
115   Name = Standard
116   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
117   operatorcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: Intervention needed for %j\" %r"
118 # MailOnError = @job_email@ = all, !terminate
119 # operator = @job_email@ = mount
120   console = all, !skipped, !terminate
121
122   append = "@working_dir@/log" = all, !skipped
123   catalog = all, !skipped
124 }
125
126 Messages {
127   Name = NoEmail
128   mailcommand = "@sbindir@/bsmtp -h localhost -f \"\(Bacula regression\) %r\" -s \"Regression: %t %e of %c %l\" %r"
129   console = all, !skipped, !terminate, !restored
130   append = "@working_dir@/log" = all, !skipped
131   catalog = all, !skipped
132 }
133
134     
135 # Default pool definition
136 Pool {
137   Name = Default
138   Pool Type = Backup
139   Recycle = yes                       # Bacula can automatically recycle Volumes
140   AutoPrune = yes                     # Prune expired volumes
141   Volume Retention = 365d             # one year
142 }
143
144 Pool {
145   Name = SmallVols
146   Pool Type = Backup
147   Recycle = yes                       # Bacula can automatically recycle Volumes
148   AutoPrune = yes                     # Prune expired volumes
149   Volume Retention = 365d             # one year
150   Maximum Volumes = 10
151   MaximumVolumeBytes = 10M
152   LabelFormat = Small
153 }