]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Final changes
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.37.30
3
4   Bacula code: Total files = 420 Total lines = 136,852 (*.h *.c *.in)
5
6 Major Changes:
7 - Note! DVD writing does not work.
8 - There is a new database format that is not compatible
9   with previous databases. You must upgrade if converting
10   from 1.36.x.
11 - The Director, Storage daemon, and File daemons are
12   Deamons are not compatible with  prior versions. 
13   All FDs must be upgraded at the same time.
14 - Multiple drive autochanger support.
15 - Support for ANSI/IBM labels.
16 - New communications protocol between DIR and SD to reserve 
17   drives.
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
23   Volume name.
24 - DVD writing support, using parts, and a lot of new directives in
25   the Device resource of the Storage configuration file thanks
26   to Nicolas Boichat. NOT CURRENTLY WORKING!
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
34   to Landon Fuller.
35 - Any Volume in the Pool named Scratch may be reassigned to any
36   other Pool when a new Volume is needed.
37 - Seeking on disk Volumes during restore.
38 - You may clone a Job and thus write (almost) the same data
39   to multiple Volumes simultaneously (see below). Actually, 
40   any Job may start any other Job with this mechanism, so it
41   also be used to group jobs.
42 - Unicode filename support for Win32 (thanks to Thorsten Engel)
43 - Volume Shadow Copy support for Win32 thus the capability to
44   backup exclusively opened files (thanks to Thorsten Engel).
45   A VSS enabled Win32 FD is available.  You must explicitly
46   turn on VSS with "Enable VSS = yes" in your FileSet resource.
47 - New manual format with an index (thanks to Karl Cunningham).
48 - New Web site format (thanks to Michael Scherer).
49 - SQLite3 support, but it seems to run at 1/2 to 1/4 the speed of
50   SQLite2.
51 - Web-bacula, previously a separate project by Juan Luis Frances,
52   is now included in the Bacula GUI release (yet to be fully
53   created).
54
55 New Directives:
56 - New Job directive "Prefer Mounted Volumes = yes|no" causes the
57   SD to select either an Autochanger or a drive with a valid 
58   Volume already mounted in preference. If none is available,
59   it will select the first available drive.
60 - New Run directive in Job resource of DIR. It permits
61   cloning of jobs.  To clone a copy of the current job, use
62      Run = "job-name level=%l since=\"%s\""
63   Note, job-name is normally the same name as the job that
64   is running but there is no restriction on what you put. If you
65   want to start the job by hand and use job overrides such as       
66   storage=xxx, realize that the job will be started with the
67   default storage values not the overrides.  The level=%l guarantees
68   that the chosen level of the job is the same, and the since=... 
69   ensures that the job uses *exactly* the same time/date for incremental
70   and differential jobs. The since=... is ignored when level=Full.
71   A cloned job will not start additional clones, so it is not possible
72   to recurse.
73 - New Options keywords in a FileSet directive:
74   - WildDir xxx
75     Will do a wild card match against directories (files will not
76     be matched).
77   - WildFile xxx
78     Will do a wild card match against files (directories will not
79     be matched).
80   - RegexDir xxx
81     Will do a regular expression match against directories (files
82     will not be matched).
83   - RegexFile xxx
84     Will do a regular expression match against files( directories
85     will not be matched).
86   - IgnoreCase = yes | no
87     Will ignore case in wild card and regular expression matches.
88     This is handy for Windows where filename case is not significant.
89   - FsType = string
90     where string is a filesystem type: ext2, jfs, ntfs, proc,
91     reiserfs, xfs, usbdevfs, sysfs, smbfs, iso9660.  For ext3
92     systems, use ext2.  You may have multiple fstype directives
93     and thus permit multiple filesystem types.  If the type
94     specified on the fstype directive does not match the
95     filesystem for a particular directive, that directory will
96     not be backed up.  This directive can be used to prevent
97     backing up non-local filesystems.
98   - HFS Plus Support = yes | no 
99     If set, Mac OS X resource forks will be saved and restored.
100 - Label Type = ANSI | IBM | Bacula   
101   Implemented in Director Pool resource and in SD Device resource.
102   If it is specified in the SD Device resource, it will take
103   precedence over the value passed from the Director to the SD.
104 - Check Labels = yes | no
105   Implemented in the SD Device resource. If you intend to read
106   ANSI or IBM labels, this *must* be set. Even if the volume
107   is not ANSI labeled, you can set this to yes, and Bacula will
108   check the label type.
109 - Scripts Directory = <directory> name.  Defines the directory from 
110   which Bacula scripts will be called for events. In fact, Bacula
111   appends this name to the standard Python list of search directories,
112   so the script could also be in any of the Python system directories.
113 - In FileSet, you can exclude backing up of hardlinks (if you have
114   a lot, it can be very expensive), by using:
115     HardLinks = no
116   in the Options section. Patch supplied by David R Bosso. Thanks.
117 - MaximumPartSize = bytes (SD, Device resource)
118   Defines the maximum part size.
119 - Requires Mount = Yes/No (SD, Device resource)
120   Defines if the device require to be mounted to be read, and if it
121   must be written in a special way. If it set, the following directives 
122   must be defined in the same Device resource:
123   + Mount Point = directory
124     Directory where the device must be mounted. 
125   + Mount Command = name-string
126     Command that must be executed to mount the device. Before the command
127     is executed, %a is replaced with the Archive Device, and %m with the 
128     Mount Point.
129   + Unmount Command = name-string
130     Command that must be executed to unmount the device. Before the 
131     command is executed, %a is replaced with the Archive Device, and 
132     %m with the Mount Point.
133   + Write Part Command = name-string
134     Command that must be executed to write a part to the device. Before
135     the command is executed, %a is replaced with the Archive Device, %m 
136     with the Mount Point, %n with the current part number (0-based), 
137     and %v with the current part filename.
138   + Free Space Command = name-string
139     Command that must be executed to check how much free space is left 
140     on the device. Before the command is executed, %a is replaced with 
141     the Archive Device, %m with the Mount Point, %n with the current part
142     number (0-based), and %v with the current part filename.
143 - Write Part After Job = Yes/No (DIR, Job Resource, and Schedule Resource)
144   If this directive is set to yes (default no), a new part file will be
145   created after the job is finished.
146 - A pile of new Directives to support TLS. Please see the TLS chapter
147   of the manual.
148
149 New Commands:
150 - "python restart" restarts the Python interpreter. Rather brutal, make
151    sure no Python scripts are running. This permits you to change
152    a Python script and get Bacula to use the new script.
153
154 Items to note!!!
155 - DVD writing is not yet working.
156 - You must add --with-python=[DIR] to the configure command line
157   if you want Python support.  Python 2.2 and 2.3 should be automatically
158   detected if in the standard place.
159 - With Python 2.2 version, the link of the Director gets a few linker
160   warnings due to the fact that Python pulls in some old non-secure
161   libraries.
162 - With Python 2.3, there are a few compiler warnings.
163 - You must either create a new catalog database or upgrade your
164   old database (the PostgreSQL upgrade scripts not yet tested).
165 - You must add --with-openssl to the configure command line if
166   you want TLS communications encryption support.
167
168 Other Items:
169 - 2 new scripts, dvd-writepart and dvd-freespace, in the scripts directory,
170   which are designed to be used as parameters to Write Part Command and
171   Free Space Command. They need the dvd+rw-tools to be installed
172   (http://fy.chalmers.se/~appro/linux/DVD+RW/).
173   You must have Python installed to run the dvd-freespace script.
174 - Part files support: File volumes can now be splitted in multiple
175   files, called "parts".
176
177 - For the details of the Python scripting support, please see the new
178   Python Scripting chapter in the manual.