2 Release Notes for Bacula 1.37.24
4 Bacula code: Total files = 433 Total lines = 140,329 (*.h *.c *.in)
7 - This version has a new DIR <--> SD protocol. Both must be
8 upgraded at the same time. Deamons are not compatible with
9 prior versions. All FDs must be upgraded.
10 - There is a new database format that is not compatible
11 with previous databases.
12 - SQLite3 support, but it seems to run at 1/2 to 1/4 the speed of
14 - Multiple drive autochanger support.
15 - Support for ANSI/IBM labels.
16 - New communications protocol between DIR and SD to reserve
18 - Faster database inserts due to combining the MD5/SHA1 into
19 the attributes record, eliminating one INSERT/file backed up.
20 - Python Event support has been added. See below for
21 configuration and details. Unfortunately, it is not yet complete
22 and the only really useful function is defining a new
24 - DVD writing support, using parts, and a lot of new directives in
25 the Device resource of the Storage configuration file thanks
27 - Seven new options keywords in a FileSet resource:
28 ignorecase, fstype, hfsplussupport, wilddir, wildfile, regexdir,
29 and regexfile thanks to Pruben Guldberg). See below for details.
30 - Restore of all files for a Job or set of jobs even if the file
31 records have been removed from the catalog.
32 - Restore of a directory (non-recursive, i.e. only one level).
33 - Support for TLS (ssl) between all the daemon connections thanks
35 - Any Volume in the Pool named Scratch may be reassigned to any
36 other Pool when a new Volume is needed.
37 - You may clone a Job and thus write (almost) the same data
38 to multiple Volumes simultaneously (see below). Actually,
39 any Job may start any other Job with this mechanism, so it
40 also be used to group jobs.
41 - Unicode filename support for Win32 (thanks to Thorsten Engel)
42 - Volume Shadow Copy support for Win32 thus the capability to
43 backup exclusively opened files (thanks to Thorsten Engel).
44 - New manual format with an index (thanks to Karl Cunningham).
45 - New Web site format (thanks to Michael Scherer).
46 - Seeking on disk Volumes during restore.
49 - New Job directive "Prefer Mounted Volumes = yes|no" causes the
50 SD to select either an Autochanger or a drive with a valid
51 Volume already mounted in preference. If none is available,
52 it will select the first available drive.
53 - New Run directive in Job resource of DIR. It permits
54 cloning of jobs. To clone a copy of the current job, use
55 Run = "job-name level=%l since=\"%s\""
56 Note, job-name is normally the same name as the job that
57 is running but there is no restriction on what you put. If you
58 want to start the job by hand and use job overrides such as
59 storage=xxx, realize that the job will be started with the
60 default storage values not the overrides. The level=%l guarantees
61 that the chosen level of the job is the same, and the since=...
62 ensures that the job uses *exactly* the same time/date for incremental
63 and differential jobs. The since=... is ignored when level=Full.
64 A cloned job will not start additional clones, so it is not possible
66 - New Options keywords in a FileSet directive:
68 Will do a wild card match against directories (files will not
71 Will do a wild card match against files (directories will not
74 Will do a regular expression match against directories (files
77 Will do a regular expression match against files( directories
79 - IgnoreCase = yes | no
80 Will ignore case in wild card and regular expression matches.
81 This is handy for Windows where filename case is not significant.
83 where string is a filesystem type: ext2, jfs, ntfs, proc,
84 reiserfs, xfs, usbdevfs, sysfs, smbfs, iso9660. For ext3
85 systems, use ext2. You may have multiple fstype directives
86 and thus permit multiple filesystem types. If the type
87 specified on the fstype directive does not match the
88 filesystem for a particular directive, that directory will
89 not be backed up. This directive can be used to prevent
90 backing up non-local filesystems.
91 - HFS Plus Support = yes | no
92 If set, Mac OS X resource forks will be saved and restored.
93 - Label Type = ANSI | IBM | Bacula
94 Implemented in Director Pool resource and in SD Device resource.
95 If it is specified in the SD Device resource, it will take
96 precedence over the value passed from the Director to the SD.
97 - Check Labels = yes | no
98 Implemented in the SD Device resource. If you intend to read
99 ANSI or IBM labels, this *must* be set. Even if the volume
100 is not ANSI labeled, you can set this to yes, and Bacula will
101 check the label type.
102 - Scripts Directory = <directory> name. Defines the directory from
103 which Bacula scripts will be called for events. In fact, Bacula
104 appends this name to the standard Python list of search directories,
105 so the script could also be in any of the Python system directories.
106 - In FileSet, you can exclude backing up of hardlinks (if you have
107 a lot, it can be very expensive), by using:
109 in the Options section. Patch supplied by David R Bosso. Thanks.
110 - MaximumPartSize = bytes (SD, Device resource)
111 Defines the maximum part size.
112 - Requires Mount = Yes/No (SD, Device resource)
113 Defines if the device require to be mounted to be read, and if it
114 must be written in a special way. If it set, the following directives
115 must be defined in the same Device resource:
116 + Mount Point = directory
117 Directory where the device must be mounted.
118 + Mount Command = name-string
119 Command that must be executed to mount the device. Before the command
120 is executed, %a is replaced with the Archive Device, and %m with the
122 + Unmount Command = name-string
123 Command that must be executed to unmount the device. Before the
124 command is executed, %a is replaced with the Archive Device, and
125 %m with the Mount Point.
126 + Write Part Command = name-string
127 Command that must be executed to write a part to the device. Before
128 the command is executed, %a is replaced with the Archive Device, %m
129 with the Mount Point, %n with the current part number (0-based),
130 and %v with the current part filename.
131 + Free Space Command = name-string
132 Command that must be executed to check how much free space is left
133 on the device. Before the command is executed, %a is replaced with
134 the Archive Device, %m with the Mount Point, %n with the current part
135 number (0-based), and %v with the current part filename.
136 - Write Part After Job = Yes/No (DIR, Job Resource, and Schedule Resource)
137 If this directive is set to yes (default no), a new part file will be
138 created after the job is finished.
139 - A pile of new Directives to support TLS. Please see the TLS chapter
143 - "python restart" restarts the Python interpreter. Rather brutal, make
144 sure no Python scripts are running. This permits you to change
145 a Python script and get Bacula to use the new script.
148 - TLS for wx-console is only partially implemented. TLS for
149 the Gnome console is not yet implemented.
150 - You must add --with-python=[DIR] to the configure command line
151 if you want Python support. Python 2.2 and 2.3 should be automatically
152 detected if in the standard place.
153 - With Python 2.2 version, the link of the Director gets a few linker
154 warnings due to the fact that Python pulls in some old non-secure
156 - With Python 2.3, there are a few compiler warnings.
157 - The Python implementation has a few memory leaks not yet cleaned
158 up. As long as you restart Bacula once a month, this shouldn't
160 - You must either create a new catalog database or upgrade your
161 old database (the PostgreSQL upgrade scripts not yet tested).
162 - You must add --with-openssl to the configure command line if
163 you want TLS communications encryption support.
164 - The new DVD code is currently non-functional.
167 - 2 new scripts, dvd-writepart and dvd-freespace, in the scripts directory,
168 which are designed to be used as parameters to Write Part Command and
169 Free Space Command. They need the dvd+rw-tools to be installed
170 (http://fy.chalmers.se/~appro/linux/DVD+RW/).
171 - Part files support: File volumes can now be splitted in multiple
172 files, called "parts".
174 - For the details of the Python scripting support, please see the new
175 Python Scripting chapter in the manual.