2 Release Notes for Bacula 1.38.0
4 Bacula code: Total files = 420 Total lines = 138,440 (*.h *.c *.in)
5 20,440 additional lines of code since version 1.36.3
8 - Fixed out of order Volumes in restore.
9 - Improved algorithm for reserving drives in multiple drive
10 autochangers. Autochange users MUST use the new Autochanger
11 resource in the Storage daemon.
12 - There is a new database format that is not compatible
13 with previous databases. You must upgrade if converting
14 from 1.36.x. No changes from version 1.37.30.
15 - The Director, Storage daemon, and File daemons are
16 Deamons are not compatible with prior versions.
17 All FDs must be upgraded at the same time.
18 - Support for ANSI/IBM labels.
19 - Faster database inserts due to combining the MD5/SHA1 into
20 the attributes record, eliminating one INSERT/file backed up.
21 - Python Event support has been added. See below for
22 configuration and details. The implementation is somewhat minimal,
23 so the functionality is not complete. The Python interface
24 has not been extensively tested, so please consider it BETA.
25 - DVD writing support, using parts, and some new directives in
26 the Device resource of the Storage configuration file thanks
27 to Nicolas Boichat. Please note that this code is still
28 BETA and should be carefully tested before using in
30 - Seven new options keywords in a FileSet resource:
31 ignorecase, fstype, hfsplussupport, wilddir, wildfile, regexdir,
32 and regexfile thanks to Pruben Guldberg). See below for details.
33 - Restore of all files for a Job or set of jobs even if the file
34 records have been removed from the catalog.
35 - Restore of a directory (non-recursive, i.e. only one level).
36 - Support for TLS (ssl) between all the daemon connections thanks
38 - Any Volume in the Pool named Scratch may be reassigned to any
39 other Pool when a new Volume is needed.
40 - You may clone a Job and thus write (almost) the same data
41 to multiple Volumes simultaneously (see below). Actually,
42 any Job may start any other Job with this mechanism, so it
43 also be used to group jobs.
44 - Unicode filename support for Win32 (thanks to Thorsten Engel)
45 - Volume Shadow Copy support for Win32 thus the capability to
46 backup exclusively opened files (thanks to Thorsten Engel).
47 A VSS enabled Win32 FD is available. You must explicitly
48 turn on VSS with "Enable VSS = yes" in your FileSet resource.
49 - New manual format with an index (thanks to Karl Cunningham).
50 - New Web site format (thanks to Michael Scherer).
52 - Web-bacula, previously a separate project by Juan Luis Frances,
53 is now included in the Bacula GUI release. This is a management
54 level tool for reporting the state of Bacula jobs.
55 - The code is now Internationalized so that it can be localized
56 in native languages. Thanks to Nicolas Boichat.
59 - New Job directive "Prefer Mounted Volumes = yes|no" causes the
60 SD to select either an Autochanger or a drive with a valid
61 Volume already mounted in preference. If none is available,
62 it will select the first available drive.
63 - New Run directive in Job resource of DIR. It permits
64 cloning of jobs. To clone a copy of the current job, use
65 Run = "job-name level=%l since=\"%s\""
66 Note, job-name is normally the same name as the job that
67 is running but there is no restriction on what you put. If you
68 want to start the job by hand and use job overrides such as
69 storage=xxx, realize that the job will be started with the
70 default storage values not the overrides. The level=%l guarantees
71 that the chosen level of the job is the same, and the since=...
72 ensures that the job uses *exactly* the same time/date for incremental
73 and differential jobs. The since=... is ignored when level=Full.
74 A cloned job will not start additional clones, so it is not possible
76 - New Options keywords in a FileSet directive (backported to 1.36.3):
78 Will do a wild card match against directories (files will not
81 Will do a wild card match against files (directories will not
84 Will do a regular expression match against directories (files
87 Will do a regular expression match against files( directories
89 - IgnoreCase = yes | no
90 Will ignore case in wild card and regular expression matches.
91 This is handy for Windows where filename case is not significant.
93 where string is a filesystem type: ext2, jfs, ntfs, proc,
94 reiserfs, xfs, usbdevfs, sysfs, smbfs, iso9660. For ext3
95 systems, use ext2. You may have multiple fstype directives
96 and thus permit multiple filesystem types. If the type
97 specified on the fstype directive does not match the
98 filesystem for a particular directive, that directory will
99 not be backed up. This directive can be used to prevent
100 backing up non-local filesystems.
101 - HFS Plus Support = yes | no
102 If set, Mac OS X resource forks will be saved and restored.
103 - Label Type = ANSI | IBM | Bacula
104 Implemented in Director Pool resource and in SD Device resource.
105 If it is specified in the SD Device resource, it will take
106 precedence over the value passed from the Director to the SD.
107 - Check Labels = yes | no
108 Implemented in the SD Device resource. If you intend to read
109 ANSI or IBM labels, this *must* be set. Even if the volume
110 is not ANSI labeled, you can set this to yes, and Bacula will
111 check the label type.
112 - Scripts Directory = <directory> name. Defines the directory from
113 which Bacula scripts will be called for events. In fact, Bacula
114 appends this name to the standard Python list of search directories,
115 so the script could also be in any of the Python system directories.
116 - In FileSet, you can exclude backing up of hardlinks (if you have
117 a lot, it can be very expensive), by using:
119 in the Options section. Patch supplied by David R Bosso. Thanks.
120 - MaximumPartSize = bytes (SD, Device resource)
121 Defines the maximum part size.
122 - Requires Mount = Yes/No (SD, Device resource)
123 Defines if the device require to be mounted to be read, and if it
124 must be written in a special way. If it set, the following directives
125 must be defined in the same Device resource:
126 + Mount Point = directory
127 Directory where the device must be mounted.
128 + Mount Command = name-string
129 Command that must be executed to mount the device. Before the command
130 is executed, %a is replaced with the Archive Device, and %m with the
132 + Unmount Command = name-string
133 Command that must be executed to unmount the device. Before the
134 command is executed, %a is replaced with the Archive Device, and
135 %m with the Mount Point.
136 + Write Part Command = name-string
137 Command that must be executed to write a part to the device. Before
138 the command is executed, %a is replaced with the Archive Device, %m
139 with the Mount Point, %n with the current part number (0-based),
140 and %v with the current part filename.
141 + Free Space Command = name-string
142 Command that must be executed to check how much free space is left
143 on the device. Before the command is executed, %a is replaced with
144 the Archive Device, %m with the Mount Point, %n with the current part
145 number (0-based), and %v with the current part filename.
146 - Write Part After Job = Yes/No (DIR, Job Resource, and Schedule Resource)
147 If this directive is set to yes (default no), a new part file will be
148 created after the job is finished.
149 - A pile of new Directives to support TLS. Please see the TLS chapter
153 - "python restart" restarts the Python interpreter. Rather brutal, make
154 sure no Python scripts are running. This permits you to change
155 a Python script and get Bacula to use the new script.
157 New configure options:
158 - --with-libintl-prefix for defining alternate locations for
159 the NLS internationalization libraries. Not normally required.
160 - --datadir for defining where the language files will be installed
161 required only if you do not want the default /usr/share.
164 - If you use an Autochanger, you MUST update your SD conf file
165 to use the new Autochanger resource. Otherwise, certain commands
166 such as "update slots" may not work.
167 - You must add --with-python=[DIR] to the configure command line
168 if you want Python support. Python 2.2, 2.3 and 2.4 should be
169 automatically detected if in the standard place.
170 - When linking with --with-python, there are a few warnings that
172 - You must either create a new catalog database or upgrade your
173 old database. After installation, run from your scripts
176 ./upgrade_bacula_tables
178 You can also find this script in the <bacula-source>/src/cats
180 - The Director, Storage daemon, and File daemons are
181 Deamons are not compatible with prior versions.
182 All FDs must be upgraded at the same time.
183 - You must add --with-openssl to the configure command line if
184 you want TLS communications encryption support.
185 - Disk seeking during restores does not yet work correctly in
186 all cases, so it is turned off.
187 - Note, with gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) on an
188 AMD64 CPU running 64 bit CentOS4, there is a compiler bug that
189 generates bad code that causes Bacula to segment fault.
190 Typically you will see this in the Storage daemon first. The
191 solution is to compile Bacula ensuring that no optimization is
192 turned on (normally it is -O2).
196 - Security fixes for temp files created in mtx-changer, during
197 ./configure, and during making of Rescue disk.
198 - A new script, dvd-handler, in the scripts directory,
199 which is designed to be used as parameters to Write Part Command and
200 Free Space Command. They need the dvd+rw-tools to be installed
201 (http://fy.chalmers.se/~appro/linux/DVD+RW/) AND, the growisofs
202 program must be patched using the
203 <bacula-source>/patches/dvd+rw-tools-5.21.4.10.8.bacula.patch
204 You must have Python installed to run the scripts.
205 - Part files support: File volumes can now be split into multiple
206 files, called "parts".
207 - For the details of the Python scripting support, please see the new
208 Python Scripting chapter in the manual.