]> git.sur5r.net Git - bacula/bacula/blob - bacula/ReleaseNotes
Final changes
[bacula/bacula] / bacula / ReleaseNotes
1
2           Release Notes for Bacula 1.39.20
3
4   Bacula code: Total files = 448 Total lines = 150,330 (*.h *.c *.in)
5
6 Version 1.39.20:
7 - The basic features of Migration are now complete.
8 - There is a Migration chapter in the doc.
9 - There is an Encryption chapter in the doc.
10
11 New Features in 1.39.20:
12 - Add -n option to bconsole to turn off conio.
13 - The bytes field in the terminated jobs part of the status
14   command now reports in KB, MB, ... units.
15 - When not descending into a directory, print the File= name that
16   triggered it -- makes why not descending a bit clearer
17 - Do not unload autochanger when doing "update slots"
18 - Implement mount command for autochanger
19
20 Fixes for 1.39.20:
21 - Writing DVDs should work much better thans to Richard Mortimer.
22 - Fix bug #462 incorrect error message printed when client script called
23   from File= was not found.
24 - Fix bug #558 (waiting for feedback) where Bacula needs too much time to
25   do a rewind on Solaris when no tape is in the drive (Solaris does not
26   have the detailed errno found on Linux).  Added Solaris specific code.
27   Note, this may apply to other OSes as well.
28 - Many cleanups/enhancements for Win32 systems.
29 - Correct improperly formated list command output reported by Dan.
30
31 ==========================================
32
33 Warning for version 1.39.18 and greater:
34 - The documentation is almost non-existent for all new features
35   except RunScripts (written and documented by Eric Bollengier).
36 - If you have an old pre 1.39.18 database, you must upgrade it using
37   the upgrade_bacula_tables script. Please backup your database before
38   upgrading just in case.
39 - You *should* be able to use 1.38.x FDs with version 1.39.18 Director
40   and SD providing you do not use any of the new features (runscript,   
41   data encryption). It seems to work here, but we do not guarantee it.
42 - Your Director and SD must be simultaneously upgraded.
43 - The restore command no longer uses the MediaType as the primary method
44   of finding a suitable Storage device. Normally it will select the last
45   device used to write a Volume. If no storage device is defined, it
46   will use the old algorithm which selects the first Storage resource  
47   with the correct MediaType.
48 - The MD5/SHA1 hash codes kept in the database are now kept in a binary
49   format compatible with the rest of the world. If you are running verify 
50   jobs, you *must* do an InitCatalog or all files will show an MD5   
51   difference.  Also, authentication uses the new algorithm by
52   default, but *should* accept connections from older components (FD) using
53   the old non-compatible algorithm. This has been tested, but more
54   more testing is still needed.  
55 - The --mandir ./configure option now points to the top level man
56   directory.  The man files will be installed under mandir/man8 and
57   mandir/man1 as appropriate.
58 - The "Accept Any Volume" directive has been removed. It was never
59   implemented. Bacula will always accept any valid tape that is in   
60   the drive for appending.
61 - To install the 1.39.18 Win32 FD, you *must* first stop any    
62   previous version that is running in a DOS shell with:
63
64      net stop bacula
65
66   or select the 'Close Bacula' menu item from the Bacula tray icon,
67   you should then save your bacula-fd.conf file, and either
68   uninstall (using Uninstall.bat in the c:\bacula directory) or
69   remove the old installation by manually in a DOS shell in the
70   Bacula directory enter:
71
72      bacula-fd /remove
73
74   after that you can proceed with the installation.  My experience
75   is that it does not properly create the new bacula-fd.conf file, so
76   copy the one saved to the directory you chose to install Bacula,
77   or to the directory chosen by the Installer to put the bacula-fd.conf
78   file.  Then you can start Bacula in a DOS shell with:
79
80     net start baculafd
81
82   or use the Windows Control Panel->Administrative Tools->Component
83   Services menu item.  
84
85
86 A Lot of New features for 1.39.18:
87 - Switch the Win32 build from using Microsoft C++ to using mingw32
88   cross-compiling.  The inital work was done by Howard Thomson,
89   then tweaked by me.  Robert Nelson then totally reworked the
90   cross-compiling code so that it not only cross-compiles, but
91   also compiles on Visual Studio, and at the same time, he added
92   all the current Unix features to the FD, such as selection on
93   drives, encryption support, building *all* the tools, ...
94   Finally, he also ported the Directory and the Storage daemon to
95   Win32.
96 - Data encryption done in the Client is now supported due to code
97   submitted by Landon Fuller.
98 - Bacula restore and bextract can now extract non-portable Win32 data to
99   any client (including Unix/Linux clients). Of course, in doing so,
100   the Microsoft specific permissions and ACLs will be lost.  Thanks
101   to Thorsten Engel for this code.
102 - The 260 character limitation for Win32 paths name lengths is now 
103   eliminated thanks to Thorsted Engel.
104 - Eric Bollengier wrote new RunScript directives that includes
105   the old RunBefore/AfterJob and ClientRunBefore/AfterJob features
106   plus a *lot* more, allowing you to control just about every aspect
107   of running scripts.  See the manual for detailed documentation.
108 - The examples directory has a new bacula_mail_summary.sh file that
109   creates a single email summary of any number of jobs. Submitted by
110   Andrew J. Millar.
111 - SunOS ACLs should now work thanks to a patch from David Duchscher.
112 - The database Id records should be 32/64 bit independent now. 64 bits
113   can be enabled by changing one define, but this has never been tested.
114 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
115   If this patch is applied, the number of days can be specified with
116   "list nextvol days=xx"
117   or
118   "status dir days=xx"
119   My use case is to be able to preview the next scheduled job (and the
120   next tape to be used) on fridays if there are no scheduled jobs during
121   the weekend.  This patch was probably back ported to 1.38.x
122 - Add nagios plugin to the examples directory. Submitted by
123   Christian Masopust.
124 - Modify most restore error messages to be queued so that they
125   appear at the end of the job rather than mixted with the restore
126   listing where they could be "lost".
127 - Apply patch supplied by user (slightly modified) to fix
128   correct detection of holes in block devices and FIFOs.
129   Bug # 506.
130 - Added a report.pl program to the examples directory from Jonas Bjorklund.
131 - Add enable/disable job=<job-name>.  This command prevents
132   the specified job from being scheduled. Even when disabled,
133   the job can be manually started from the console.
134 - Add two new queries to query.sql provided by Arno. One
135   list volumes known to the Storage device, and the other
136   lists volumes possibly needing replacement (error, ...).
137 - Implement new code for changing userid and group at startup. This
138   should get Bacula into the correct groups.
139 - Implement support for removable filesystems.
140 - Transfer rates are now presented in a more readable format thanks
141   to a user submission.
142 - SD is now aware of what volumes are mounted. More information is printed
143   in the Status report.
144 - The Pool Maximum Volumes directive is now respected in all places.
145 - A Storage device can now be specified in a Pool resource. It will override
146   all other Storage specifications.
147 - Most but not all directives accept true/false in place of yes/no.
148 - A patch from Karl Hakimian that reads JobIds, FileIndexes
149   from a database table for restore.
150 - There are a number of new tables. Some such as the Location table are
151   designed for user use in doing Volume Management software.
152 - Maximum Changer Wait, Maximum Open Wait, Maximum Rewind Wait to
153   accept time qualifiers.
154 - Implement jobuid to replace old usage of job in keywords as
155   suggested by Eric Bollengier.
156 - Apply patch for enhancing wait from Eric Bollengier. One can now:
157    wait  (wait for all jobs to stop)
158    wait jobid=nn
159    wait jobuid=unique id
160    wait job=job-name
161 - Implement write variables for Python to set Priority (anytime), and
162   Job Level, only during JobInit event.
163 - Use the keyword ujobid to mean the unique job id; job or jobname
164   to mean the Job name given on the Name directive, and jobid to
165   be the numeric (non-unique) job id.
166 - Allow the SD to use multiple drives during a backup/restore (only
167   one at a time). This is not well tested.
168 - Integrate addition of line count limitation to bsmtp -l from
169   Sebastian Stark <stark at tuebingen.mpg.de>
170 - Split the bacula start/start script into four files:
171    bacula         -- starts and stops calling other scripts
172    bacula-ctl-dir -- starts/stops the director
173    bacula-ctl-fd  -- starts/stops the File daemon
174    bacula-ctl-sd  -- starts/stops the Storage daemon
175 - Remove automatic case folding on Windows FDs. You must
176   explictly use the 'Ignore Case = yes' option.
177 - Implement wild program in tools directory for testing
178   wild-cards. Almost identical to the regex program.
179 - Use the new bregex.c to implement Regex expressions on Win32.
180 - Apply patch from Christopher Hull
181   - Allow multiple connections to database with different
182     parameters.
183   - Invalidate the scheduler when doing a reload. Fixes seg
184     fault, but still 60 second window.
185   - Additional info in Reschedule message.
186   - Use set_jcr_job_status() everywhere to prevent loss of
187     cancel, error.
188   - Display peer IP in FD if error from connecting DIR.
189   - Don't increment file count for DIRBEGIN.
190   - Replace illegal characters in Win32 filename by _.
191   - Add SE_CREATE_PERMANENT_NAME privilege in Win32.
192   - Hash hard link filenames rather than linked list (performance).
193   - Fix for security failure in chdir on Win32.
194   - Add CreateDirectoryA/W win32 API entry points.
195 - Add /silent option to Win32 FD for Install/Remove service.
196   programs to duplicate Bacula's base64 algorithm using standard
197   routines. This fixes bugs #296, and 565. Patch submitted by
198   author of bug #565.
199 - Fixes to reloading the Dir conf file from Eric Bollengier and Christopher
200   Hull.
201 - Modify LICENSE to correct some problems pointed out by Debian.
202 - Apply a patch submitted by cesarb in bug #606 to implement O_NOATIME support.
203     O_NOATIME is a open() flag which makes it possible to read a file without
204     updating the inode atime (and also without the inode ctime update which
205     happens if you try to set the atime back to its previous value). It also
206     prevents a race condition when two programs are reading the same file, but
207     only one does not want to change the atime. It's most useful for backup
208     programs and file integrity checkers (and bacula can fit on both
209     categories).                                                    
210   You enable it in the Bacula FileSet Options resource by setting:
211      noatime = yes
212   The effect of this option is similar to the keepatime option except
213   it is more efficient and avoids modifying ctime.
214 - Implement a pile of new man pages contributed by Jose Tallon.
215 - Implement a number of user supplied patches for DVD writing.
216 - Modify the database format for handling Migration jobs:
217    Add PriorJobId, RealEndTime to Job table
218    Delete MAC table
219    Remove Stripe from JobMedia record (not used, wasting space)
220    Add ScratchPoolId, RecyclePoolId, Enabled to Media record
221    Add Cost to Location table.
222    Enabled to Media table and Location table.
223 - Security: harden authentication failure in FD by single threading errors
224   and forcing a 6 second wait.
225 - If using GCC (actually g++) add the following compiler flags
226   -fno-strict-aliasing -fno-exceptions -fno-rtti
227 - Turn on new bsnprintf() code.  This could cause print output
228   to look different.
229 - Implement job report that indicates where Storage and Pool
230   came from -- with overrides and Pool storage and NextPool,
231   it is all very complicated.
232 - Add more detail (Storage, Device) to list of volumes printed
233   for restore.
234 - Add new VOLMGMT message class. No messages are yet sent with this 
235   class.
236 - Add Catalog message destination in Messages resource that puts the
237   job report in the Log database table.
238 - Spend a lot of time integrating mkcdrec with the rescue disk.
239 - Add spooling/despooling info in status output of SD.
240 - Add Comment field to llist of a volume.
241 - Allow true/false in some yes/no questions.
242 - Implement update volume enable=(on|off|true|false|archived|0|1|2)
243
244 Additional Features Added for Win32:
245
246 Added DriveType directive to the Director's Include Option FileSet
247 resource.  Allowed values are: fixed, removable, cdrom, and remote.  There
248 is only an implementation for Windows because it is the only platform that
249 has the concept of drives.
250  
251 Adds EnhancedWild directive to the Director's Include Option FileSet
252 resource.  Allowed values are: yes and no.
253  
254 When EnhancedWild is enabled then the processing of the
255 Wild, WildDir and WildFile is changed in the following ways.
256  
257   Patterns conform to Posix
258       \ is not a special character in character classification []
259       To match a - it must be the first or last character
260       To match a ] it must be the first character
261  
262       fnmatch option FNM_FILE_NAME is specified * doesn't match a / 
263       so it won't match multiple directory levels in a path
264  
265 Relative WildFile patterns (ones without a leading /) match
266 against the filename portion.  This in combination with the
267 FNM_FILE_NAME fnmatch() flag makes directives such as WildFile =
268 abc*.def work as expected.
269  
270 Adds support for the shell's feature of brace expansion.
271
272 Here is an example where braces allow 24 lines to be expressed in 5.
273
274 # Exclude directories full of lots and lots of useless little files
275 WildDir = "[A-Z]:/{Documents and
276 Settings,{WINNT,Windows}/Profiles}/*/Cookies"
277 WildDir = "[A-Z]:/{Documents and
278 Settings,{WINNT,Windows}/Profiles}/*/Recent"
279 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
280 Settings,LOCALS~1}/History"
281 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
282 Settings,LOCALS~1}/Temp"
283 WildDir = "[A-Z]:/{Documents and Settings,{WINNT,Windows}/Profiles}/*/{Local
284 Settings,LOCALS~1}/Temporary Internet Files"
285
286
287
288 Here are some hints if you want to play with the Windows Director and/or
289 Storage daemon.
290  
291 Changer and Tape device names in Windows are Changer0, Changer1, etc and
292 Tape0, Tape1, etc.  If there isn't a device driver loaded for the Changer
293 then you need to use the address <Port>:<Bus>:<Target>:<Lun>.  Port is the
294 SCSI Adapter Number, Bus is the Bus Number on the adapter (usually 0 since
295 most adapters only have one bus), Target is the device's Target Device ID,
296 Lun is the Logical Unit Number.
297  
298 You must specify DeviceType = tape in the Device resource in bacula-sd.conf
299 since detection doesn't currently work.