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