2 Release Notes for Bacula 1.38.11
4 Bacula code: Total files = 423 Total lines = 139,479 (*.h *.c *.in)
6 Warning for version 1.38.8 and greater:
7 - The Windows FD no longer automatically folds the case
8 in wild-card comparions. To get the same behavior as before,
9 you must explicitly use "Ignore Case = yes" in your FileSet.
10 - Backslashes are no longer permitted in File directives
11 (typical error for Windows users), unless the string is
12 enclosed in double quotes, in which case, the backslashes
15 Major Changes for 1.38.11
16 - Add test for IRIX64 as OS
17 - Fix scheduler hang during clock shift (due to missing unlock())
18 - Minor tweaks to bregex.c
19 - Fix to block.c to correctly check for DVD number of parts.
20 - Fix to dev.c to permit DVD seeking in spool file. Corrects
21 label rewriting problems.
22 - Clarify license for techlogs (GPL). I consider them "part" of
23 the source code of Bacula.
24 - Use FDL license for developer's manual, French translation, German
25 translation, bimagemgr manuals (same as the main manual), and
28 New features for 1.38.11:
31 ====================================================================
33 Major Changes for 1.38.10:
34 - This is a primarily a bug fix release, with the following bugs being
35 resolved #570, 609, 611, 613, 614, 617 as well as other bugs not
36 reported in the bugs database. See below for details.
37 - The bconsole "reload" command should now work properly in virtually
38 all situations thanks to the efforts of a number of people (Eric,
39 Christopher, and myself).
40 - There is an untested fix to eliminate the scheduling problems (either
41 no job run or the same job run twice) during sudden clock shifts (daylight
43 - The manual has been released under the GNU Free Documentation License (FDL).
44 The major difference is that this removes the prior restriction on
45 commercial reproduction of the manual.
46 - Fixed a race condition (thanks to Christopher) on dual processor machines
47 that caused jobs to block when starting with the SD.
49 New features for 1.38.10:
54 - Modify setting ACLs to suppress error message if the file is a
55 symbolic link since the file linked to may not yet be created,
56 and symbolic links really should not have attributes ...
58 - Complete implementation of acl.c error message during restore.
59 During backups, errors getting acls are silently ignored, as was
62 - Modify configure.in to check for typeof().
63 - Better detection of postgresql installation if pg_conf works.
64 - Fix RescheduleTimes = 0 bug (should not reschedule).
65 - Down port from 1.39: fixes for reload, autochanger error messages,
66 scheduler fixes for reload and day light savings change,
68 - Implement partial error messages for src/filed/acl.c
69 - Fix return code to fail when doing update barcodes and
70 Pool resource is not found. This previously caused Volumes
71 to be labeled as cleaning tapes.
72 - Small updates to projects file.
74 - Prevent DVD code from rewriting label if the device cannot be
76 - Fix Dir/SD run race in migrate.c, verify.c, and restore.c
77 - Update projects file.
79 - Applied patch posted by Jaime Ventura to bug #570 to correct failure
80 of restarted jobs to complete (due to a destroyed pthreads conditional
81 variable used by the message thread).
82 - Fixed bug #619 where Bacula would not restart jobs with MaxRestartTimes
84 - Apply patch from John Goerzen bug #611 to fix bad manual links in the code.
85 - Apply patch from Rudolf Cejka bug #614 to removed trailing
86 colons in query.sql file.
87 - Apply patch from Rudolf Cejka bug #613 to correct prunning of files
88 not to create orphans.
89 - Apply patch from Rudolf Cejka bug #617 to use mtime instead of ctime
90 in restore long listing.
91 - Apply patch from Rudolf Cejka bug #609 to use MarkId in verify.c instead
92 of incorrect MarkedId.
93 - Apply patch from adioso bug #616 to correct text in manual (replace
94 Director with File daemon).
96 - Move DIR "run" command to SD before starting the message thread
97 as suggested by Cristopher Hull to avoid a race deadlock from
98 two threads using the bsock structure.
99 - Modify LICENSE to correct some problems pointed out by Debian.
101 - Correct EOF with no \n lex.c problem.
102 - Add additional INFO messages if autochanger cannot be used.
103 - Add Eric Bollengier's lex error handler fix, which corrects most
104 of the reload problems.
107 New features for 1.38.9:
108 - A "Dir Status" button in the Gnome console.
111 This is mainly a bug fix release containing a collection of
112 minor fixes for 1.38.8.
113 - Added code to strip backslashes from Windows filenames during
115 - Corrected Win32 License to use the correct LICENSE file.
116 - Corrected the buffer count and bytes reported in the heap
118 - Fix a number of incorrect strings marked for translation, when
119 they should not be (e.g. commands).
120 - Fix StartTime bug reported for ClientRunBeforeJob and RunBeforeJob
121 Patches supplied by user in bugs #608 and #599.
122 - Use most recent of st_ctime and st_mtime in restore tree DIR
123 listing. This fixes some problems with Win32 printing incorrect
125 - Correct the clock shift comm time calculation between the DIR
126 and the FD. It was added rather than subtracted.
127 - Strip all backslashes in filenames to be restored on Win32
128 machines -- the names should all be in Unix format, and if
129 there are any backslashes it is most likely due to an improper
130 FileSet definition, and the files will not otherwise be
132 - Delete src/win32/License.txt
133 - Modify installer to install LICENSE
134 - Add back ua_label barcode fix from Rufolf Cejka.
135 - Add 'Dir Status' button to the gnome console.
136 - Display heap stats in Storage daemon without debug level.
137 - Implement using pg_config for finding PostgreSQL files.
138 Fixes bug #600. Patch supplied by user.
139 - Remove -t option from mktemp in mtx_changer.in and use
140 working directory. Fixes bug #578.
141 - Update job start time after the any run before job so that
142 files created by the script are only backed up once. Fixes
144 - Strip trailing newline only from filenames entered in
145 the restore command when reading a file. This permits
146 the user to enter filenames with trailing spaces. Fixes
147 bug #549. The user supplied a patch that I modified slightly.
148 - Use the most recent time (st_mtime, st_ctime) in the dir
149 command in restore. This gives the user a better idea of what
150 the newest file really is. This fixes bug #574. The fix
151 was suggested by the user.
152 - Remove the -f option from the chown in Makefile.in for more
154 - Change setting the group in Makefile.in to use chgrp for
156 - Implement a Bacula read/write lock for Python rather
157 than using the Python lock to avoid recursive problems.
158 - Correct the uninstall directory names in filed/Makefile.in
159 as reported by a user.
162 New features for 1.38.8:
163 - Regex, RegexFile, and RegexDir are now implemented in the
164 Win32 FD. However, this is new experimental code that is
165 largely untested. It may not work, it may cause memory
166 leaks, or it may even crash the FD. Please test carefully
168 - On Linux/Unix systems there are two new programs, bregex
169 and bwild that allow you to test regular expressions and
170 wild-cards. These programs are installed with the other
171 binaries. They are not available on Win32 systems.
176 New Features from pre-1.38.8 releases:
177 - For autochanger get Scratch tape if in autochanger if
178 no appendable Volumes are available.
179 - New virtual disk autochanger. See scripts/disk-changer for
181 - New optional Device resource directive in SD. 'Device Type =',
182 which may have types: File, DVD, Tape, or FIFO. This can
183 be useful for writing DVDs on FreeBSD where Bacula cannot
184 correctly detect the DVD.
185 - Faster restore tree building and uses less memory.
186 - The command line keyword job (or jobname) now refers to the
187 name of the job specified in the Job resource; jobid refers
188 as before to the non-unique numeric jobid; and ujobid refers
189 to the unique job identification that Bacula creates for each
191 - The job report for Backups has a few more user friendly ways
192 of displaying the information.
193 - The wait command can now be made to wait for jobids.
194 - New command line keywords are permitted in update volume. They
195 are Inchanger=yes/no, slot=nn.
196 - Add two new console commands: enable job=<job-name> and
197 disable job=<job-name>. When a job is disabled, it will not
198 be started by the scheduler. If you disable a job and restart
199 Bacula or reload the .conf file, the job will be re-enabled.
200 - Add a new Job resource directive "enable = yes|no".
201 - There is a new program named regex in the tools directory that
202 allows you to try regular expressions on your system.
205 - Fix race condition in multiple-drive autochangers where
206 both drives want the same Volume.
207 - Do not allow opening default catalog for restricted console
209 - Writable FIFOs now work for restore.
210 - ACLs are now checked in all dot commands.
211 - Multiple drive autochangers and multiple different autochangers
212 should now work correctly (no race conditions for Volume names,
213 update slots use correct StorageId).
214 - Fix bug where drive was always reserved if a restore job failed
215 while in the reservation process.
221 Release 1.38.8 (14Apr06)
223 - Correct Makefile for Solaris /bin/sh
224 - Correct mtx-changer.in for Solaris /bin/sh
225 - Abort if a conf resource does not have a Name =
227 - Change the name of the regex program to bregex.
228 - Add the bwild program to the tools directory. It is similar
229 to the bregex program.
230 - Implement create bregex.h and bregex.c in src/lib from the
231 Python regexp program.
232 - Use the new bregex.c to implement Regex expressions on Win32.
234 - Modify Makefile to change the permissions on Working Directory
235 to 770 if the directory is created.
236 - Do not fail the Makefile if changing the permissions or
237 owner/group on WorkingDir fails.
238 - Correct the old recycling algorithm so that Scratch Volumes
239 are selected when looking for a Volume in the changer.
240 - Correct a typo in the Verify SQL reported by Joe Park.
242 - Remove automatic case folding on Windows FDs. You must
243 explictly use the 'Ignore Case = yes' option.
244 - Remove the code added to 1.38.6 and 1.38.7 that pulls a
245 scratch volume in an Autochanger early in the 'recycling'
248 - Tweak license to include Microsoft restrictions.
249 - Move mysql.reconnect to after real_connect(). Thanks to
250 Frank Sweetser for the patch.
251 - Disallow a backslash in a File = directive (Windows junk)
252 unless the string is quoted.
253 - Apply Eric's patch to ua_label.c so that daemon protocol
256 Release 1.38.7 (06Apr06) released 07Apr06
258 - Remove timed wait for VSS on Win2K3 as it is not yet
260 - Correct bacula.in script to reference bacula-ctl-xx in the
261 sysconfig directory rather than the bin directory.
263 Release 1.38.6 (28Mar06) released 29Mar06
265 - Back port from 1.39 fixes to lib/jcr.c to use foreach_jcr()
266 and new jcr chain locking.
268 - Fix a long standing bug in the bacula start/stop scripts.
269 - Attempt to add the new bacula-ctl-* files to the rpm.
270 - Switch to using typeof() for list traversing to avoid
271 as many FC5 g++ compiler warnings as possible.
273 - Split the bacula start/start script into four files:
274 bacula -- starts and stops calling other scripts
275 bacula-ctl-dir -- starts/stops the director
276 bacula-ctl-fd -- starts/stops the File daemon
277 bacula-ctl-sd -- starts/stops the Storage daemon
278 - Create datestyle fix for PostgreSQL. Fixes bug #574.
279 - Correct editing of JobId from int to int64 in fd_cmds.c
280 - Eliminate FileSet name race with bash_spaces() and multiple
281 threads by bashing in a local.
282 - Fix error return from 'use storage' to print a correct error
283 message rather than nothing.
284 - Correct false re-read last block error message when two jobs
285 are simultaneously writing at the end of a tape.
286 - Simplify exit conditions in the reserve.c code to avoid
287 possible non-release of reservation_lock().
288 - Suffle lock order in reserve to avoid deadlock between
289 reservation lock and device mutex.
290 - Add Thorsten's VSS timeout code to 1.38 branch.
291 - Initialize jcr mutex before first use. Thanks to Thorsten for
292 tracking this down for me !!!! as it broke the Win32 build.
293 - Integrate addition of line count limitation to bsmtp -l from
294 Sebastian Stark <stark at tuebingen.mpg.de>
295 - Implement regex test program in tools directory.
296 - Attempt to fix time problem with bsmtp with foreign langs.
297 - Add strip_trailing_newline() submitted by user.
299 Release 1.38.6 beta6 16Mar06
300 - Fix bug #537 to allow arbitrary time to mount a volume for
301 restore, if polling is turned on.
302 - Disallow multiple storage specifications for a job. Should fix Arno's
304 - Add back a missing store of poolid in jr.poolid.
305 - If dir_user or dir-group is specified in ./configure apply it to
306 the working-dir. Fixes bug #533.
307 - If rescheduling a job cancel the previous incarnation with the SD.
308 Fixes bugs #566 and 557.
309 - Fix bug #567 do_message() definition type conflict.
311 Release 1.38.6 beta5 14Mar06
312 - Add more jcr methods and make mutex and use_count private.
313 - Create lock/unlock methods for jcr.
314 - Fix PostgreSQL bug doing sql_data_seeek() by explicitly reading
315 records to get to seek position.
316 - Integrate patch from bug #561 to correct conio.c signal definitions.
317 - Fix Rescheduling failed Jobs. Ensure that SD message thread
318 terminates correctly by doing pthread_kill(). Do not destroy
319 SD cond wait variable between executions of the job. Use local
320 mutex for cond variable to avoid blocking jcr chain. Fix poor
321 use of jcr use count in jobq.c for restarted jobs.
322 - Fix obsolete usage of foreach_dlist() to use foreach_jcr() in
323 lib/jcr.c -- prevents locking the jcr chaing.
324 - Apply patch from bug #564, which corrects listing volumes with
325 multiple autochangers. Apply same fix to next volume list.
326 - Fix bug #562 where restore bootstrap file is not unique.
327 - Use new routine lock_reservations() to lock the reservations
328 system, and call it while looking for a volume in askdir.c.
329 This could possibly fix bug #543.
330 - Stop SD command loop if job is canceled.
332 Release 1.38.6 beta3 4Mar06
334 - The po files should now be current.
335 - Fix new sql_use_result() code to properly release the
336 buffers in all cases.
337 - Convert to using new Python class definitons with (object).
338 - Use the keyword ujobid to mean the unique job id; job or jobname
339 to mean the Job name given on the Name directive, and jobid to
340 be the numeric (non-unique) job id.
341 - Allow listing by any of the above.
342 - Add the user friendly job report code for reporting job elapsed time
343 and rates with suffexes.
344 - Add Priority and JobLevel as Python settable items.
345 - Use TEMPORARY table creation where the table is created by
347 - Add new code submitted by Eric for waiting on specific jobid.
348 - Add ACL checking for the dot commands.
349 - Fix restore of writable FIFOs.
350 - Fix a bug in bpipe where the string was freed too early.
353 - Fix bug reported by Arno listing blocks with bls
354 - Update the po files at Eric's request.
356 Release 1.38.6-beta2 25Feb06
358 - Add sql_use_result() define.
360 Changes to 1.38.6-beta1
361 - Don't open default catalog if not in ACL.
362 - Add virtual disk autochanger code.
363 - Add user supplied bug fix to make two autochangers work
364 correctly using StorageId with InChanger checks.
365 - Correct new/old_jcr confusion in copy_storage().
366 - Remove & from Job during scan in msgchan.c -- probably
368 - When getting the next Volume if no Volume in Append mode
369 exists and we are dealing with an Autochanger, search
370 for a Scratch Volume.
371 - Check for missing value in dot commands -- bug fix.
372 - Fix bug in update barcodes command line scanning.
373 - Make sure Pool Max Vols is respected.
374 - Check that user supplied a value before referencing
375 it in restore -- pointed out by Karl Hakimian.
376 - Add Karl Hakimian's table insert code.
377 - Don't ask user to select a specific Volume when
378 updating all volumes in a Pool.
379 - Remove reservation if set for read when removing dcr.
380 - Lock code that requests next appendable volume so that
381 two jobs to get the same Volume at the same time.
382 - Add new Device Type = xxx code. Values are file, tape,
384 - Preserve certain modes (ST_LABEL|ST_APPEND|ST_READ) across
385 a re-open to change read/write permission on a device.
386 - Correct a misplaced double quote in certain autochanger
388 - Make make_catalog_backup.in a bit more portable.
389 - Implement Karl Hakimian's sql_use_result(), which speeds
390 up restore tree building and reduces the memory load.
391 - Correct a number of minor bugs in getting a Volume from
393 - Implement additional command line options for update Volume.
394 - Don't require user to enter a Volume name when updating
395 all Volumes in a pool.
397 Release 1.38.5 released 19Jan06:
398 - Apply label barcodes fix supplied by Rudolf Cejka.
399 - Modify standard rpm installation to set SD group to disk
400 so that SD will by default have access to tape drives.
401 - Allow users to specify user/group and start options
402 for each daemon in /etc/sysconf/bacula file.
404 Changes to 1.38.4 released 17Jan06:
405 - The main changes are to the Director and the Storage daemon,
406 thus there is no need to update your File daemons. Just the
407 same, I do recommend running with the release 1.38.3 Win32
409 - Add two new queries to query.sql provided by Arno. One
410 list volumes known to the Storage device, and the other
411 lists volumes possibly needing replacement (error, ...).
412 - Add periodic (every 24 hours) garbage collection of memory
413 pool by releasing free buffers.
414 - Correct bug counting sized (for display only) in smartall.c
415 - Print FD mempool stats if debug > 0 rather than 5.
416 - Correct bug in alist.c that re-allocated the list if the
417 number of items goes to zero.
418 - Move the reservation system thread locking to the top level
419 so that one job at a time tries all possible drives before
421 - Implement a reservation 'fail' message queue that is built
422 and destroyed on each pass through the reservation system.
423 These messages are displayed in a 'Jobs waiting to reserve
424 a drive' list during a 'status storage='. Note, multiple
425 messages will generally print for each JobId because they
426 represent the different problems with either the same drive
427 or different drives. If this output proves too confusing
428 of voluminous, I will display it only when debug level 1
429 or greater is enabled in the SD.
430 - Add enable/disable job=<job-name>. This command prevents
431 the specified job from being scheduled. Even when disabled,
432 the job can be manually started from the console.
433 - During 'update slots' clear all InChanger flags where the
434 StorageId is zero (old Media records).
435 - Fix autochanger code to strip leading spaces from returned
436 slots number. Remove bc from chio-changer.
437 - Back port a bit of 1.39 crypto code to reduce diffs.
438 - Fix first call to autochanger that missed close()ing the
439 drive. Put close() just before each run_program(). Fixes
441 - Add PoolId to Job record when updating it at job start time.
442 - Pull in more code from 1.39 so that there are fewer file
443 differences (the new ua_dotcmds.c, base64.h, crypto.h
444 hmac.c jcr.c (dird and lib) lib.h md5.h parse_conf.c
445 util.c. Aside from ua_dotcmds.c these are mostly crypto
447 - Implement new method of walking the jcr chain. The
448 incr/dec of the use_count is done within the walking
449 routines. This should prevent a jcr from being freed
450 from under the walk routines.
453 Changes to 1.38.3 released 05Jan06:
454 - This is mainly a bug release fix. In addition, the multiple drive
455 reservation algorithm has been rewritten.
456 - In addition, the method of handling waiting for tapes to be
457 mounted and the mount messages has been modified.
458 (the above two items are a potential source of problems).
459 - Simplify code in askdir.c that waits for creating an appendable
460 volume so that it can handle multiple returns from the wait code.
461 - Modify the wait code to permit multiple returns.
462 - Return a zero when 'autochanger drives' is called and
463 it is not an autochanger.
464 - Make rewind_dev() a method taking a DCR as an argument.
465 This permits closing and reopening the drive if the
466 rewind fails as happens if the drive was loaded while the
467 file descriptor was open. This refreshes the file descriptor.
468 - Remove the ST_OPENED flag and always rely on fd < 0 for knowing
469 if the device is open or not. This should eliminate
471 - Return error if reserve cannot find at least one suitable device.
472 - Make wait_for_sysop() return correct state information.
473 - Fix Win32 state file problem. write was not using compat
474 code. This should fix bug #500.
475 - Modify gui on command to set only GUI mode and not batch.
476 - Modify .messages command to always print messages regardless
478 - If GUI mode is on, suppress automatic printing of
480 - Modify restore command in wx-console to set gui on and to use
481 only .messages instead of messages. Hopefully this fixes bug
483 - Implement load balancing code with multiple drive autochangers.
484 - Rewrite reservation algorithm again. Rename variables to be
485 more logical, add HEARTBEAT with Director, allow cancel of
486 jobs stuck in reservation, add last resourt any_drive.
487 - Fix seg fault if user labels a drive directly bug #513
488 - Remove quotes around Version as it breaks things.
489 - Merge in Aleksandar Milivojevic's mods to the spec file.
490 - Apply sparse code fix for raw drives and fifos. Bug 506
491 - Thorsten fixed Unicode cd problem with wx-console bug 505.
492 - Correct reservation system to do a last ditch try
493 for any mounted volume, then anyone anywhere.
494 - Updates to ssh-tunnel from Joshua Kugler.
495 - Added a report.pl program from Jonas Bjorklund.
496 - Simplify the O_NONBLOCK open() code for tape drives,
497 and always open nonblocking.
498 - Do not wait for open() if EIO returned (shouldn't happen).
499 - Eliminate 3 argument to tape open().
500 - Correct the slot # edited in the 3995 Bad autochanger unload
502 - With -S on bscan (show progress) do not divide by zero.
503 - Make cancel pthread_cond_signal() pthread_cond_broadcast().
504 - When dcr is freed, also broadcast dev->wait_next_vol signal.
505 - Remove unused code in wait_for_device.
506 - Make wait_for_device() always return after 60 seconds of wait.
507 - Use localhost if no network configured
508 - Eliminated duplicate MaxVolBytes in cat update -- bug 509.
509 - Update specs to include mysql4 define.
510 - Return rec->FileIndex in dcr->VolLastIndex for normal
511 and partial records in read_record(). This allows bscan
512 to get FileIndex at EOT correct.
513 - Fix butil.c to correctly set dcr -- fixes seg fault in bls.
514 - Apply patch supplied by user (slightly modified) to fix
515 correct detection of holes in block devices and FIFOs.
517 - Apply patch supplied by user (slightly modified)
518 to fix SD hang with multiple pools and bad client
520 - Add nagios plugin to the examples directory. Submitted by
522 - Remove warning message about multiple saves of hardlinked files
523 from find_one.c as it can generate too many warning messages.
524 - Reset timeout values before select() per patch from
525 Frank Sweetser for problems with non-blocking sockets.
526 - Unlink the state file if either reading or writing it gets
527 errors. Hopefully this will fix Win32 exit problems.
528 - Get next volume from Scratch pool before creating a volume.
529 - Set new Pool defaults in Vol when moved from Scratch Pool.
530 - Remove argument from create_bacula_database for SQLite as it
532 - Fix reservation so that mutexes are properly applied.
533 - Rework reservation algorithm so that two drives can be used
535 - Apply days keyword patch from Alexander.Bergolth at wu-wien.ac.at
536 If this patch is applied, the number of days can be specified with
537 'list nextvol days=xx'
540 My use case is to be able to preview the next scheduled job (and the
541 next tape to be used) on fridays if there are no scheduled jobs during
543 - Fix font code in gnome2 console user patch. Fixes bug #501.
544 - Fix malformatted bnet error message that caused seg fault
546 - Applied user patch to improve README.vc8 in src/win32.
547 - Ensure that StorageId is stored in Media record when ever possible.
548 - Remove old code from winservice.cpp
549 - Break on error in scan.
550 - Fix typo in signal.c
551 - Separate read/write DCR in SD. Add jcr->read_dcr.
552 - Cleanup how find_device() works.
553 - Remove abs() in bfile.c so that it compiles on Solaris. Bug #491.
556 - Fix crash in tray-monitor when daemon disconnects. Bug #479.
557 - Fix bnet-server bug found on OpenBSD. Bug #486
558 - Fix cancel failure bug. Bug #481
559 - Fix failure when Pool name has spaces. Bug #487
560 - Fix SD crash in autochanger code. Mutex failure. Bug #488
561 - Fix a couple of free()s in src/filed/acl.c
562 - Fix memory overrun in bfile.c in building OS X resource
563 fork filename. Bug #489
564 - Add Pool name to SD status output.
565 - Add Python install dir for Solaris to configure. Bug #492
568 - Corrected ACL for Solaris (David Duchscher and Attila Fulop).
569 - Add bacula_mail_summary.sh to examples directory. It makes
570 a single email summary of any number of jobs. Submitted
572 - Unmount command now unloads autochanger.
573 - Fix hang in FD (Martin Simmons)
574 - Fix Win98 stat() problem in FD (Thorsten Engel)
575 - Fix update slots which did not clear missing tapes.
576 - Fix autostart install for FreeBSD (user reported)
577 - Fix several problems with PostgreSQL scripts (Eric Bollinger)
578 - Critical: allow restore of the first file of non-portable Win32 backup.
579 - Important: with muliple concurrent jobs the autochanger could get
580 confused because of a missing mutex.
581 - Fix accessing last slot in label and update slots.
582 - Modify configure.in to add execute option to sqlite3 catalog
584 - Create update_xxx_table_8_to_9 scripts for updatedb
585 - Move the -lcrypt for PostgreSQL after the PostgreSQL libs in
586 autoconf/bacula-macros/db.m4 as suggested by user. Fixes bug #457.
587 - Remove @STATIC_CONS@ from tray-monitor Makefile as suggested
588 by user. Fixes bug #456.
589 - AMD64 users see compiler bug warning below!!!!!!!!!
591 Major Changes in 1.38:
592 - Fixed out of order Volumes in restore.
593 - Improved algorithm for reserving drives in multiple drive
594 autochangers. Autochange users MUST use the new Autochanger
595 resource in the Storage daemon.
596 - There is a new database format that is not compatible
597 with previous databases. You must upgrade if converting
598 from 1.36.x. No changes from version 1.37.30.
599 - The Director, Storage daemon, and File daemons are
600 Deamons are not compatible with prior versions.
601 All FDs must be upgraded at the same time.
602 - Support for ANSI/IBM labels.
603 - Faster database inserts due to combining the MD5/SHA1 into
604 the attributes record, eliminating one INSERT/file backed up.
605 - Python Event support has been added. See below for
606 configuration and details. The implementation is somewhat minimal,
607 so the functionality is not complete. The Python interface
608 has not been extensively tested, so please consider it BETA.
609 - DVD writing support, using parts, and some new directives in
610 the Device resource of the Storage configuration file thanks
611 to Nicolas Boichat. Please note that this code is still
612 BETA and should be carefully tested before using in
614 - Seven new options keywords in a FileSet resource:
615 ignorecase, fstype, hfsplussupport, wilddir, wildfile, regexdir,
616 and regexfile thanks to Pruben Guldberg). See below for details.
617 - Restore of all files for a Job or set of jobs even if the file
618 records have been removed from the catalog.
619 - Restore of a directory (non-recursive, i.e. only one level).
620 - Support for TLS (ssl) between all the daemon connections thanks
622 - Any Volume in the Pool named Scratch may be reassigned to any
623 other Pool when a new Volume is needed.
624 - You may clone a Job and thus write (almost) the same data
625 to multiple Volumes simultaneously (see below). Actually,
626 any Job may start any other Job with this mechanism, so it
627 also be used to group jobs.
628 - Unicode filename support for Win32 (thanks to Thorsten Engel)
629 - Volume Shadow Copy support for Win32 thus the capability to
630 backup exclusively opened files (thanks to Thorsten Engel).
631 A VSS enabled Win32 FD is available. You must explicitly
632 turn on VSS with 'Enable VSS = yes' in your FileSet resource.
633 - New manual format with an index (thanks to Karl Cunningham).
634 - New Web site format (thanks to Michael Scherer).
636 - Web-bacula, previously a separate project by Juan Luis Frances,
637 is now included in the Bacula GUI release. This is a management
638 level tool for reporting the state of Bacula jobs.
639 - The code is now Internationalized so that it can be localized
640 in native languages. Thanks to Nicolas Boichat.
643 - New Job directive 'Prefer Mounted Volumes = yes|no' causes the
644 SD to select either an Autochanger or a drive with a valid
645 Volume already mounted in preference. If none is available,
646 it will select the first available drive.
647 - New Run directive in Job resource of DIR. It permits
648 cloning of jobs. To clone a copy of the current job, use
649 Run = 'job-name level=%l since=\'%s\''
650 Note, job-name is normally the same name as the job that
651 is running but there is no restriction on what you put. If you
652 want to start the job by hand and use job overrides such as
653 storage=xxx, realize that the job will be started with the
654 default storage values not the overrides. The level=%l guarantees
655 that the chosen level of the job is the same, and the since=...
656 ensures that the job uses *exactly* the same time/date for incremental
657 and differential jobs. The since=... is ignored when level=Full.
658 A cloned job will not start additional clones, so it is not possible
660 - New Options keywords in a FileSet directive (backported to 1.36.3):
662 Will do a wild card match against directories (files will not
665 Will do a wild card match against files (directories will not
668 Will do a regular expression match against directories (files
669 will not be matched).
671 Will do a regular expression match against files( directories
672 will not be matched).
673 - IgnoreCase = yes | no
674 Will ignore case in wild card and regular expression matches.
675 This is handy for Windows where filename case is not significant.
677 where string is a filesystem type: ext2, jfs, ntfs, proc,
678 reiserfs, xfs, usbdevfs, sysfs, smbfs, iso9660. For ext3
679 systems, use ext2. You may have multiple fstype directives
680 and thus permit multiple filesystem types. If the type
681 specified on the fstype directive does not match the
682 filesystem for a particular directive, that directory will
683 not be backed up. This directive can be used to prevent
684 backing up non-local filesystems.
685 - HFS Plus Support = yes | no
686 If set, Mac OS X resource forks will be saved and restored.
687 - Label Type = ANSI | IBM | Bacula
688 Implemented in Director Pool resource and in SD Device resource.
689 If it is specified in the SD Device resource, it will take
690 precedence over the value passed from the Director to the SD.
691 - Check Labels = yes | no
692 Implemented in the SD Device resource. If you intend to read
693 ANSI or IBM labels, this *must* be set. Even if the volume
694 is not ANSI labeled, you can set this to yes, and Bacula will
695 check the label type.
696 - Scripts Directory = <directory> name. Defines the directory from
697 which Bacula scripts will be called for events. In fact, Bacula
698 appends this name to the standard Python list of search directories,
699 so the script could also be in any of the Python system directories.
700 - In FileSet, you can exclude backing up of hardlinks (if you have
701 a lot, it can be very expensive), by using:
703 in the Options section. Patch supplied by David R Bosso. Thanks.
704 - MaximumPartSize = bytes (SD, Device resource)
705 Defines the maximum part size.
706 - Requires Mount = Yes/No (SD, Device resource)
707 Defines if the device require to be mounted to be read, and if it
708 must be written in a special way. If it set, the following directives
709 must be defined in the same Device resource:
710 + Mount Point = directory
711 Directory where the device must be mounted.
712 + Mount Command = name-string
713 Command that must be executed to mount the device. Before the command
714 is executed, %a is replaced with the Archive Device, and %m with the
716 + Unmount Command = name-string
717 Command that must be executed to unmount the device. Before the
718 command is executed, %a is replaced with the Archive Device, and
719 %m with the Mount Point.
720 + Write Part Command = name-string
721 Command that must be executed to write a part to the device. Before
722 the command is executed, %a is replaced with the Archive Device, %m
723 with the Mount Point, %n with the current part number (0-based),
724 and %v with the current part filename.
725 + Free Space Command = name-string
726 Command that must be executed to check how much free space is left
727 on the device. Before the command is executed, %a is replaced with
728 the Archive Device, %m with the Mount Point, %n with the current part
729 number (0-based), and %v with the current part filename.
730 - Write Part After Job = Yes/No (DIR, Job Resource, and Schedule Resource)
731 If this directive is set to yes (default no), a new part file will be
732 created after the job is finished.
733 - A pile of new Directives to support TLS. Please see the TLS chapter
737 - 'python restart' restarts the Python interpreter. Rather brutal, make
738 sure no Python scripts are running. This permits you to change
739 a Python script and get Bacula to use the new script.
741 New configure options:
742 - --with-libintl-prefix for defining alternate locations for
743 the NLS internationalization libraries. Not normally required.
744 - --datadir for defining where the language files will be installed
745 required only if you do not want the default /usr/share.
748 - The Storage daemon now keeps track of what tapes it is using
749 (was not the case in 1.36.x). This means that you must be much
750 more careful when removing tapes and putting up a new one. In
751 general, you should always do a 'unmount' prior to removing a
752 tape, and a 'mount' after putting a new one into the drive.
753 - If you use an Autochanger, you MUST update your SD conf file
754 to use the new Autochanger resource. Otherwise, certain commands
755 such as 'update slots' may not work.
756 - You must add --with-python=[DIR] to the configure command line
757 if you want Python support. Python 2.2, 2.3 and 2.4 should be
758 automatically detected if in the standard place.
759 - When linking with --with-python, there are a few warnings that
761 - You must either create a new catalog database or upgrade your
762 old database. After installation, run from your scripts
765 ./upgrade_bacula_tables
767 You can also find this script in the <bacula-source>/src/cats
769 - The Director, Storage daemon, and File daemons are
770 Deamons are not compatible with prior versions.
771 All FDs must be upgraded at the same time.
772 - You must add --with-openssl to the configure command line if
773 you want TLS communications encryption support.
774 - Disk seeking during restores does not yet work correctly in
775 all cases, so it is turned off.
776 - Note, with gcc (GCC) 4.0.1 20050727 (Red Hat 4.0.1-5) on an
777 AMD64 CPU running 64 bit CentOS4, there is a compiler bug that
778 generates bad code that causes Bacula to segment fault.
779 Typically you will see this in the Storage daemon first. The
780 solution is to compile Bacula ensuring that no optimization is
781 turned on (normally it is -O2).
782 This same compiler bug has been reported and confirmed with
783 gcc (GCC) 4.0.2 20050901 (prerelease) (SUSE Linux) running on
784 an AMD64 CPU. This for the moment, I would recommend that all
785 users of GCC 4.0.1 or greater turn off all optimization when
790 - Security fixes for temp files created in mtx-changer, during
791 ./configure, and during making of Rescue disk.
792 - A new script, dvd-handler, in the scripts directory,
793 which is designed to be used as parameters to Write Part Command and
794 Free Space Command. They need the dvd+rw-tools to be installed
795 (http://fy.chalmers.se/~appro/linux/DVD+RW/) AND, the growisofs
796 program must be patched using the
797 <bacula-source>/patches/dvd+rw-tools-5.21.4.10.8.bacula.patch
798 You must have Python installed to run the scripts.
799 - Part files support: File volumes can now be split into multiple
800 files, called 'parts'.
801 - For the details of the Python scripting support, please see the new
802 Python Scripting chapter in the manual.
803 - The default user/group for the Director and Storage daemon installed
804 by rpms is bacula/bacula, thus you may need to add additional permissions
805 to your database, or modify the permissions of the tape drive. If
806 all else fails, change to using user=root. However, it is more secure