2 Release Notes for Bacula 1.34.6
4 Bacula code: Total files = 364 Total lines = 103,481 (*.h *.c *.in)
8 - This release has 8 bug fixes applied since 1.34.5
9 - Fix a restore bug where the backups could be
10 applied out of proper order possibly restoring an old version
12 - Fix for restore selection of a file by name, where it was
13 possible to select a file from the wrong Client.
14 - Fix segmentation fault during backup of a symbolic link
16 - Fix a minor compile error in wx-console.
17 - Fix a bug in despooling when the spooling disk partition becomes
18 totally filed or gets I/O errors.
19 - Fix a memory leak in PostgreSQL, and make Bacula retry 5 times if
20 connecting to the DB fails.
21 - Retry 5 times if connect to MySQL failes.
22 - Fix linking the gnome-console
25 - If you are upgrading from 1.32, please be sure to see the database
26 upgrade procedure under the 1.34.0 notes.
31 - Correct socket close on Win32 in bnet.c (in addition to compat.cpp).
32 Caused fd leak in Win32 for each connection.
33 - Fix a number of places in query.sql where multiple JobIds are
34 printed (due to JobMedia records).
35 - Abort configure if Internal is selected as the database.
36 - Close socket in SD when connection rejected. Caused fd leaks.
39 - If you are upgrading from 1.32, please be sure to see the database
40 upgrade procedure under the 1.34.0 notes.
43 - Fixed Gnome crash on up/down arrow with no history.
44 - Fixed btape "fill" crash with multiple tape option.
45 - Add new query: List jobs on Volume given Volume name.
46 - Remove vol labeled test in askdir update_volume_info so that non-labeled
47 Volume in catalog can be marked in error.
48 - Initialize job_start_wait cond variable after every new_jcr() otherwise
49 NetBSD gets error in library when trying to delete it without being inited.
50 - Fix typo (9 instead of 0) return status in write_new_volume_label.
51 - Fix mount.c to call routine that correctly marks a volume in error.
52 - Eliminate printing INFO message in UpdateDB (cats) -- it generates
53 "false" error messages.
54 - Eliminate some GTK error messages when running the Gnome2 console.
55 - Apply Peter Eriksson's lib file order changes in linking for IRIX.
56 - Add testimonials to the Web page
57 - Add the bugs list to the Web page "lists".
58 - Clarify the English in SuSE and Slackware when SD not running.
59 - Applied the patches sent by Andreas Jellinghaus: build Gnome and
60 wx-console in client-only build if configured; add ./configure option
61 to permit setting of sbin modes -- default is 0745 as before; remove
62 cats library from Gnome console build; remove old version from Gnome
63 About box. Thanks Andreas.
64 - Correct a typo in the FreeBSD SD autostart install.
65 - New bacula.spec.in from Scott.
66 - Use /usr/lib/sendmail instead of mail if no mail program is configured.
67 Submitted by Peter Eriksson. This *should* be more portable.
71 Major Changes/Features:
72 - Implement | and < in FD for new FileSet files.
73 - Implement simplistic attribute spooling statistics in status.
74 - Make storage=xxx on restore override the restore default.
75 - Clear InChanger flag during "update barcodes" if no VolName present,
76 i.e. no Volume in Changer.
77 - An update pulled in Christopher Hull's fixes to the client program
78 execution on Win32 to search the path and use COMSPEC. New rules
80 - In SD mount.c, if get I/O error or read label error on non-removable
81 Volume, mark the volume in error and retry.
82 - Apply Tim Oberfoell's ACL patch.
85 - If you are upgrading from 1.32, please be sure to see the database
86 upgrade procedure under the 1.34.0 notes.
87 - If your system has a libacl in the standard location, acl's will
88 be enabled, and you can turn them on with "aclsupport=yes" as an
89 Include or Option option.
92 - Enhance regression scripts.
93 - Implement bsscanf() because sscanf on FreeBSD amd64 stores
94 in 64 bit words for %ld. Turned on for the moment only for
96 - Fix all conversions of ptr to int to use (long unsigned) this
97 works on i386 and amd64.
98 - Add mtimeonly and keepatime to new Options list -- omitted before.
99 - Add a bit more authentication debug code.
100 - Start variable name/overload cleanup in SD
101 - Fix sscanf() in askdir.c scanning into bool to use local int.
102 - Make max_spool_size int to allow proper arithmetic.
103 - Remove trailing junk on sscanf() of "Hello Start Job" in SD.
104 - Make ask_sysop_to_mount_volume() always ask sysop.
105 - In SD mount.c, if get I/O error or read label error on non-removable
106 Volume, mark the volume in error and retry.
107 - In SD mount.c, if non-removable volume, never ask sysop to mount. We
108 ask sysop if there are no appendable Volumes though.
109 - The above 3 items fix the looping error Bacula would get if the
110 Volume was in the catalog but didn't exist -- or was zero bytes
112 - Fix an uninitialized stack variable in append.c that caused data
113 corruption on amd64 machines and *could* cause the same on other
115 - Fix a seg fault in automatic tape labeling.
116 - Eliminate a PoolId=nn when zeroing the InChanger flag for a Volume.
117 - Add a bit more debug info to bls.c
118 - Fix UpdateDB to complain if mum_rows < 1 rather than != 1.
125 - Implemented and documented the first cut of the new FileSet directives.
126 The first cut permits using wild-card matches for including files in
127 addition to excluding files.
128 - The Windows rescue procedure is confirmed for WinXP/2K (probably not NT).
129 - Modification of the PostgreSQL database creation scripts to improve
130 performance by removing foreign keys.
131 - Use trasactions on PostgreSQL to improve performance.
132 - Restore jobs will now not start until they can get exclusive use
133 of the Storage daemon Device previously they erred.
134 - Permit execution of more kinds of Win32 files with ClientRunxxxJob.
135 If an absolute path is specified, the filename must contain the correct
139 - If you are upgrading from 1.32, please be sure to see the database
140 upgrade procedure under the 1.34.0 notes.
141 - Although the daemons are compatible for all 1.34.2 features,
142 the new FileSet directives are not compatible with 1.34.2 daemons.
143 - Fixed several query.sql bugs.
144 - The behavior of the hourly, daily, weekly, and monthly keywords in
145 the Run directive have been changed to be more logical -- they only
146 affect the one item mentioned rather than all items.
149 - The wx-console has had significant improvements.
150 - Upgraded to latest autoconf files.
151 - Added BaculaRoadmap_v1.1.pdf in doc directory
152 - Fixed a crash in the btape "fill" command.
153 - Added a new alpha directory to platforms -- first cut.
154 - The mtx-changer script was broken in 1.34.2 -- it is now fixed.
155 - Pass all arguments on database creation scripts.
156 - I finally found and fixed the bug that in some cases required a double
157 mount to get Bacula to look at the tape again.
158 - Thanks to user input corrected (I think) the negative values that
159 sometimes occurred in the spooling statistics.
160 - Fixed several bsmpt bugs thanks to user input.
161 - Added user supplied code to read the Directors's conf file in dbcheck so
162 that remote databases could be contacted as well as the working directory
163 and other catalog parameters obtained.
164 - Fixed changing a Volume from one Pool to another in "update volumes".
176 - wx-console can now be built both under GTK and Win32. It is
177 now part of the Win32 binary release. It has a very nice tree
178 oriented restore. Thanks to Nicolas Boichat for this program.
179 - bconsole is now included in the Win32 binary release.
182 - bscan restored StartBlocks one block off resulting in loss of
183 data if any bscanned volumes were restored. Thanks to Gregory
184 for reporting this. It is fixed in this release.
185 - Due to an oversight, "Maximum Job Spool Size" was is not implemented.
186 It will be in the next release.
187 - To build wx-console on Linux. Download wxWidgets 2.4.2 from wxwidgets.org,
188 build and install it on your system, then add --enable-wx-console on
189 your Bacula ./configure and it will be built and installed.
190 - For both the Win32 and Linux GTK versions of wx-console, you must
191 create a wx-console.conf in the current directory. The contents are
192 identical to a bconsole.conf file.
195 - Make SD utility programs accept device name as well as archive device
198 - Remove old debug code from Win32 FD.
199 - A new version of depkgs-win32 was released containing the Win32
200 wxWidgets source code.
201 - Disable SIGHUP code in Director which is not yet complete.
205 - Autochanger users, please note you must add %d to the end of the
206 changer command line in your Device resource in your bacula-sd.conf
208 - There is a new wx-console program that does restores with a
209 tree allowing you to visually select what files are to be restored.
210 It is in a preliminary stage of development, but can be easily
211 be built under Linux with GTK, and with just a bit more difficulty
212 under Win32 with MinGW.
213 - Fixed a major race condition in the job scheduler when multiple
214 simultaneous jobs is enabled. This occurred only when on job had
215 blocked another because of resource usage.
216 - Fixed crash in SD during restore.
217 - Changed the backup report to indicate "Backup OK -- with warnings
218 if any warning messages were generated.
219 - Change output of restore report to indicate:
220 "Restore OK -- warning file count mismatch"
221 - Make backup report say "Backup OK with warnings" if either FD or SD
222 report any non-fatal errors.
223 - Modify bscan to print some elementary statistics (#Jobs, #Files, ...)
225 - Added --enable-wx-console and updated Makefile.in
226 - Fix mtx-changer so that the calling sequence is compatible
227 with the previous version (the new one required arguments that
228 were not necessarily used).
229 - Document how to use stunnel with Bacula.
230 - Fix crash in query command.
231 - Remove schedule from the default restore job.
232 - Fix data spooler to use min/max tape blocking factors.
233 - Automatically turn of conio if library not found instead of bombing.
234 - Cleaned up a lot of copyright dates.
235 - Try to keep spool statistics from going negative.
236 - Added new Pools chapter. Doc about using two disks.
237 - Attempt to keep the spool file statistics size from going
239 - Fix the Director's Scheduled Jobs: list to have a ===
241 - Fixed ./configure to disable readline rather than stop if
242 readline.h is not found
243 - Fixed a typo in the SQLite database update script as reported
244 by Robert J. Clark - thanks.
245 - Removed src/win32/pthreads and src/win32/zlib from the source
247 - Created a new depkgs-win32 that has the pthreads and zlib source
249 - Removed the JobDefs from the default Restore job as it has a
250 schedule. Thanks to Matt Howard for this.
256 - Data spooling which reduces tape shoe-shine during Inc backups,
257 and permits multiple simultaneous backups without interleaved blocks.
258 - Native Win32 client -- much faster and restores permissions correctly
259 (thanks to Christopher Hull)
260 - New Windows style installer for the Win32 Client.
261 - PostgreSQL database driver (thanks to Dan Langille).
262 - Polling of devices eliminating need to unmount and mount from
264 - Improved Autochange support of Slots (update slots scan).
265 - Autochanger support for multiple drives (I think).
266 - New conio code to implement Console command line editing and history.
267 - JobDefs resource permits smaller .conf files for Director
268 - Access console lists for the Console
269 - Pool level overrides.
270 - Daemon "status" is recovered across daemon executions.
271 - Improved btape "test" and "fill" commands.
275 - If you have a RedHat system, be sure to delete the /lib/tls
276 directory from your system. It contains defective pthreads code.
277 - The restore default is changed to have nothing selected by default.
278 You must either enter: "restore all" or after getting into the tree
279 selection prompt enter "mark *" to have everything selected.
280 - In previous versions the "all" keyword on the restore command caused
281 it to return without user interaction after selecting everything.
282 This function is now replaced by the "done" keyword (more logical).
283 The "all" keyword now causes everything to be selected by default.
284 - The default tape driver behavior is now to write only a single EOF
285 at the end of the tape. For most tape drives, this is totally
286 transparent and nothing needs to be done. For FreeBSD see below.
287 - FreeBSD users NOTE!!!!!
288 You may need the following two records to your SD Device resource for
292 Fast Forward Space File = no
294 The "Fast Forward Space File" is surely needed, and the TWOEOF
295 is needed on some systems and not others. Running the btape
296 "test" command will tell you. If you get an error with TWOEOF set
297 to yes, set it to no.
299 - If you want either bsmtp or bconsole on Win32, you will need
300 to load the 1.32 version along with cygwin1.dll. Some solution
301 for this will be forthcoming in a future update.
302 - The daemon protocol has changed from version 1.32, you must update
304 - The database level has been updated. You must either re-initialize
310 which will delete ALL prior catalog information, or you can
311 update your 1.32 database with:
313 ./update_bacula_tables
315 Please save your old database before dropping the tables or doing
316 an upgrade or you may regret it later.
317 - If you are updating versions older than 1.32, you can look in
318 the updatedb directory for scripts that you can use. You will need
319 to manually set the paths for your system.
321 - smtp has now become bsmtp -- you *must* modify your .conf files.
322 - console has now become bconsole.
323 - console.conf is now bconsole.conf
324 - Please don't underestimate the repercussions of the bsmtp and bconsole
329 - "Close on Poll = yes/no" in SD Device resource.
330 - "Volume Poll Interval = time-interval" in SD Device resource.
331 - "Two EOF = yes/no" in SD Device resource.
332 - "Maximum Network Buffer Size = size" in SD Device resource.
333 - "Maximum Network Buffer Size = size" in FD FileDaemon (or Client) resource.
334 - "Console" new resource in Director conf file.
335 New directives: Name, Description, Password, JobACL, ClientACL,
336 StorageACL, ScheduleACL, RunACL, PoolACL, CommandACL,
337 FileSetACL, CatalogACL.
338 - "Max Run Time = duration" in Director Job resource.
339 - "Max Wait Time = duration" in Director Job resource (not fully implemented).
340 - "JobDefs = name-of-resource" in Director Job resource.
341 - "Jobdefs" new resource in Director. Same directives as for a Job.
342 - "Full Backup Pool = xxx" in Job resource in the Director.
343 - "Incremental Backup Pool = xxx" in Job resource in the Director.
344 - "Differential Backup Pool = xxx" in Job resource in the Director.
345 - Three new options on the Run override statement in a Schedule resource:
349 - SpoolData=yes/no in DIR Job resource
350 - SpoolData=yes/no in Run override directive.
351 - MaximumSpoolSize in SD Device resource
352 - MaximumJobSpoolSize in SD Device resource
353 - SpoolDirectory in SD Device resource.
354 - Drive Index in SD Device resource for using two autochanger
356 - mtimeonly=yes/no on Include directive.
357 - keepatime=yes/no on Include directive.
361 - Added "pool=xxx" to restore command line.
362 - Added "fileset=xxx" to restore command line.
363 - Fixed "storage=xxx" on restore command line.
364 - "markdir" command in restore tree.
365 - "unmarkdir" command in restore tree.
366 - "quit" command in restore tree.
367 - Trace option on "setdebug trace=1/0 ..."
369 - The "all" keyword on the restore command marks all files by default.
370 - The "done" keyword prevents user interaction with the tree -- used
371 mostly for batch scripting.
376 - On multiple ctl-c, exit from console quickly.
377 - Implement "delete job jobid=xxx jobid=yyy ..."
378 - Implement "purge volume=xxx volume=yyy ..."
379 - Add -p option to all SD programs including bacula-sd. It causes
380 Bacula to proceed or forge on in case of I/O errors. It is unlikely
381 this will help, and it is strongly recommended against running
382 the daemon with this option in production.
383 - Add a missing unlock in the jobq handler.
384 - Fix bug where a soft linked file and a directory had the same name
385 by treating the soft link as a directory and putting the entries under
386 it. This fixes the bug reported by Alexander Mueller.
387 - Apply Jess Guardiani's second fix to list autochanger volumes without
388 opening the drive (necessary on FreeBSD if no tape is in the drive).
389 - Reworked the command line handler in restore to walk through the
390 arguments one at a time. This makes the file= entries work correctly.
391 Also reworked the code that takes the MediaType and finds a
393 - Add quit command to restore tree handler.
394 - Make restore tree handler remember if a hard link is present, and
395 in doing a mark, only get database entry if there is a hard link.
396 mark commands thus run at least 2 orders of magnitude faster.
397 - Add files=xxx field to run command submitted for restore.
398 - Add yes to restore run command if either yes or run is command line
400 - Make "yes" on command line argument skip prompt for modification of
402 - Add markdir and unmarkdir -- both affect only the directory in
403 question and do not do a recursive descent.
404 - Make tree command automatically mark all higher level directories to
405 be restored when a directory or a file is selected. Such directories
406 are indicated by preceding the name with a + to indicate that only
407 the directory entry is selected and not the whole directory tree.
408 - Modify a few tree commands to walk through all arguments rather than
409 just taking the first one.
410 - Improved btape "test" and "fill" commands.
411 - The ability to ask the Storage daemon on a device by device basis
412 to "poll" the tape drive at a given interval (minimum 1 minute). If
413 a tape is found, its label is read and if appropriate it is used.
414 This eliminates the need to do "mount" commands.
415 - The ability to close and re-open the device when a poll occurs.
416 This permits dealing with certain recalcitrant autochangers that
417 invalidate devices (typically on FreeBSD).
418 - Dan Langille has written a PostgreSQL driver for Bacula.
419 - Implement "update slots scan" that reads the volume label(s).
420 - The full form of the scan is "scan=1,2,4-5,7". With no specification,
421 all occupied slots are scanned.
422 - Turn off changer Volumes that are not current in the changer when
423 an "update slots" is done, or if any tape operation discovers that
424 the right volume is not in the slot.
425 - The console program will run all commands it finds in ~/.bconsolerc
427 - Add Dan Langille's changes to the bacula start/stop script that
428 permit dropping root permissions just after startup.
429 - New version 1.5.5-1 Cygwin.
430 - Modify SD to update the catalog database when it is shutdown,
431 even if the job is canceled.
432 - Fixed seg fault in restore of multiple simultaneous jobs to
434 - Fixed thread race problem in multiple simultaneous jobs to
435 a single Volume where the volume label is not in the first
436 tape block, so the tape is not recognized.
437 - Restore directory tree automatically selects all higher level
438 directories to be restored.
439 - Implement conio.c to use in console program -- mini-readline.
440 - Enhance "fill" command of btape -- simpler output. Use -v to
441 cause last block to be dumped after write and after re-read.
442 - Added an autochanger test to the btape "test" command. It is
443 automatically invoked if the autochanger is properly configured. It
444 is still a bit primitive but covers the essential of testing
445 the mtx-changer script with your autochanger.
446 - Select the oldest LastWritten volume during recycling.
447 - Added forward space file test to btape "test" command.
448 - All 1.32d patches applied.
449 - Fixed seg fault in restore of multiple simultaneous jobs to
451 - Fixed thread race problem in multiple simultaneous jobs to
452 a single Volume where the volume lable is not in the first
453 tape block, so the tape is not recognized.